<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Pkill</id>
	<title>Pkill - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Pkill"/>
	<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Pkill&amp;action=history"/>
	<updated>2026-06-02T22:55:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://dikapediav2.com/wiki/index.php?title=Pkill&amp;diff=257&amp;oldid=prev</id>
		<title>Ardika Sulistija at 18:31, 17 October 2024</title>
		<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Pkill&amp;diff=257&amp;oldid=prev"/>
		<updated>2024-10-17T18:31:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:31, 17 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;pkill – Kill user session and forcefully logout of the system.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;pkill – Kill user session and forcefully logout of the system.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ref: https://www.cyberciti.biz/faq/linux-command-log-off-all-existing-sessions-accounts/#:~:text=a%5D%20who%20or%20w%20command%20%E2%80%93%20Show%20who,to%20be%20brought%20down%20in%20a%20safe%20way.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Use the who command to see list of logged in users as follows:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Use the who command to see list of logged in users as follows:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ardika Sulistija</name></author>
	</entry>
	<entry>
		<id>https://dikapediav2.com/wiki/index.php?title=Pkill&amp;diff=256&amp;oldid=prev</id>
		<title>Ardika Sulistija: Created page with &quot;pkill – Kill user session and forcefully logout of the system.  Use the who command to see list of logged in users as follows:  # w  OR  # who  Sample outputs:  root     pts/0        Jul 29 13:53 (10.1.6.120)  nixcraft pts/1        Jul 29 12:30 (10.1.6.121)  sailee   pts/2        Jul 29 12:33 (10.1.6.121)  To force and logout nixcraft and sailee user, enter:  # pkill -KILL -u nixcraft  # pkill -KILL -u sailee  Alternatively, just try bash and friends kung-fu and save t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Pkill&amp;diff=256&amp;oldid=prev"/>
		<updated>2024-10-17T18:30:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;pkill – Kill user session and forcefully logout of the system.  Use the who command to see list of logged in users as follows:  # w  OR  # who  Sample outputs:  root     pts/0        Jul 29 13:53 (10.1.6.120)  nixcraft pts/1        Jul 29 12:30 (10.1.6.121)  sailee   pts/2        Jul 29 12:33 (10.1.6.121)  To force and logout nixcraft and sailee user, enter:  # pkill -KILL -u nixcraft  # pkill -KILL -u sailee  Alternatively, just try bash and friends kung-fu and save t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;pkill – Kill user session and forcefully logout of the system.&lt;br /&gt;
&lt;br /&gt;
Use the who command to see list of logged in users as follows:&lt;br /&gt;
 # w&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
 # who&lt;br /&gt;
&lt;br /&gt;
Sample outputs:&lt;br /&gt;
 root     pts/0        Jul 29 13:53 (10.1.6.120)&lt;br /&gt;
 nixcraft pts/1        Jul 29 12:30 (10.1.6.121)&lt;br /&gt;
 sailee   pts/2        Jul 29 12:33 (10.1.6.121)&lt;br /&gt;
&lt;br /&gt;
To force and logout nixcraft and sailee user, enter:&lt;br /&gt;
 # pkill -KILL -u nixcraft&lt;br /&gt;
 # pkill -KILL -u sailee&lt;br /&gt;
&lt;br /&gt;
Alternatively, just try bash and friends kung-fu and save time:&lt;br /&gt;
 ### warning must be run as root or via sudo ###&lt;br /&gt;
 who | awk &amp;#039;!/root/{ cmd=&amp;quot;/sbin/pkill -KILL -u &amp;quot; $1; system(cmd)}&amp;#039;&lt;br /&gt;
OR&lt;br /&gt;
 ### warning must be run as root or via sudo ###&lt;br /&gt;
 ### Safe version :) ###&lt;br /&gt;
 who | awk &amp;#039;$1 !~ /root/{ cmd=&amp;quot;/sbin/pkill -KILL -u &amp;quot; $1; system(cmd)}&amp;#039;&lt;/div&gt;</summary>
		<author><name>Ardika Sulistija</name></author>
	</entry>
</feed>