<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://www.kevinlee.io/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>https://www.kevinlee.io/w/index.php?action=history&amp;feed=atom&amp;title=Linux_Commands</id>
		<title>Linux Commands - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.kevinlee.io/w/index.php?action=history&amp;feed=atom&amp;title=Linux_Commands"/>
		<link rel="alternate" type="text/html" href="https://www.kevinlee.io/w/index.php?title=Linux_Commands&amp;action=history"/>
		<updated>2026-05-06T07:34:58Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>https://www.kevinlee.io/w/index.php?title=Linux_Commands&amp;diff=481&amp;oldid=prev</id>
		<title>Kevin at 18:06, 23 January 2013</title>
		<link rel="alternate" type="text/html" href="https://www.kevinlee.io/w/index.php?title=Linux_Commands&amp;diff=481&amp;oldid=prev"/>
				<updated>2013-01-23T18:06:34Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:06, 23 January 2013&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&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 colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Linux]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Linux Commands (Practical Use) =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Linux Commands (Practical Use) =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kevin</name></author>	</entry>

	<entry>
		<id>https://www.kevinlee.io/w/index.php?title=Linux_Commands&amp;diff=480&amp;oldid=prev</id>
		<title>Kevin at 18:05, 23 January 2013</title>
		<link rel="alternate" type="text/html" href="https://www.kevinlee.io/w/index.php?title=Linux_Commands&amp;diff=480&amp;oldid=prev"/>
				<updated>2013-01-23T18:05:42Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:05, 23 January 2013&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Use the process IDs to kill the processes&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Use the process IDs to kill the processes&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; $ kill -9 `ps aux | grep flash | grep -v grep | awk '{ print $2; }'`&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; $ kill -9 `ps aux | grep flash | grep -v grep | awk '{ print $2; }'`&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; 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;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;* Use alias&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; $ vim ~/.bash_aliases &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;alias psflash='ps aux | grep flash | grep -v grep | awk &amp;quot;{ print \$2; }&amp;quot;' &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;alias killflash='kill -9 `ps aux | grep flash | grep -v grep | awk &amp;quot;{ print \\$2; }&amp;quot;`' &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;# OR&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;# alias killflash=&amp;quot;kill -9 \`ps aux | grep flash | grep -v grep | awk '{ print \$2; }'\`&amp;quot; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kevin</name></author>	</entry>

	<entry>
		<id>https://www.kevinlee.io/w/index.php?title=Linux_Commands&amp;diff=479&amp;oldid=prev</id>
		<title>Kevin: Created page with &quot;= Linux Commands (Practical Use) =  == Kill Processes Found by &lt;code&gt;ps&lt;/code&gt; == e.g.) Killing flash  * Get the running flash processes  $ ps aux | grep flash  &lt;pre&gt; username   ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.kevinlee.io/w/index.php?title=Linux_Commands&amp;diff=479&amp;oldid=prev"/>
				<updated>2013-01-23T17:42:33Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Linux Commands (Practical Use) =  == Kill Processes Found by &amp;lt;code&amp;gt;ps&amp;lt;/code&amp;gt; == e.g.) Killing flash  * Get the running flash processes  $ ps aux | grep flash  &amp;lt;pre&amp;gt; username   ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Linux Commands (Practical Use) =&lt;br /&gt;
&lt;br /&gt;
== Kill Processes Found by &amp;lt;code&amp;gt;ps&amp;lt;/code&amp;gt; ==&lt;br /&gt;
e.g.) Killing flash&lt;br /&gt;
&lt;br /&gt;
* Get the running flash processes&lt;br /&gt;
 $ ps aux | grep flash &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username    5488  3.4  0.7 732108 114580 ?       Sl   04:28   0:13 /path/to/app --type=plugin --plugin-path=/usr/lib/flashplugin-installer/libflashplayer.so&lt;br /&gt;
username    5591  1.3  0.2 410888 33128 ?        Sl   04:35   0:00 /usr/lib/firefox/plugin-container /usr/lib/flashplugin-installer/libflashplayer.so&lt;br /&gt;
username    5602  0.0  0.0  14812   912 pts/3    S+   04:35   0:00 grep --color=auto flash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Exclude the process to grep flash&lt;br /&gt;
 $ ps aux | grep flash | grep -v grep &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
username    5488  3.4  0.7 732108 114580 ?       Sl   04:28   0:13 /path/to/app --type=plugin --plugin-path=/usr/lib/flashplugin-installer/libflashplayer.so&lt;br /&gt;
username    5591  1.3  0.2 410888 33128 ?        Sl   04:35   0:00 /usr/lib/firefox/plugin-container /usr/lib/flashplugin-installer/libflashplayer.so&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Get only the process IDs&lt;br /&gt;
 $ ps aux | grep flash | grep -v grep | awk '{ print $2; }' &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
5488&lt;br /&gt;
5591&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Use the process IDs to kill the processes&lt;br /&gt;
 $ kill -9 `ps aux | grep flash | grep -v grep | awk '{ print $2; }'`&lt;/div&gt;</summary>
		<author><name>Kevin</name></author>	</entry>

	</feed>