<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EZ Linux Admin &#187; Linux Commands</title>
	<atom:link href="http://www.ezlinuxadmin.com/category/linux-commands/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ezlinuxadmin.com</link>
	<description>Making Linux Easier</description>
	<lastBuildDate>Fri, 03 Feb 2012 18:43:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>kill a linux process that won’t die</title>
		<link>http://www.ezlinuxadmin.com/2012/02/kill-a-linux-process-that-wont-die/</link>
		<comments>http://www.ezlinuxadmin.com/2012/02/kill-a-linux-process-that-wont-die/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 18:43:39 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Linux Operating Systems]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[Linux Tricks]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=561</guid>
		<description><![CDATA[kill -s 9 [PID] Also try it without the -s if it won&#8217;t go.]]></description>
			<content:encoded><![CDATA[<p>kill -s 9 [PID]</p>
<p>Also try it without the -s if it won&#8217;t go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2012/02/kill-a-linux-process-that-wont-die/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to search a directory for a certain search string.</title>
		<link>http://www.ezlinuxadmin.com/2012/01/how-to-search-a-directory-for-a-certain-search-string/</link>
		<comments>http://www.ezlinuxadmin.com/2012/01/how-to-search-a-directory-for-a-certain-search-string/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 09:48:09 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=558</guid>
		<description><![CDATA[Pretty simple, this takes minimal load and delivers the data as it&#8217;s found.]]></description>
			<content:encoded><![CDATA[<p>Pretty simple, this takes minimal load and delivers the data as it&#8217;s found.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2012/01/how-to-search-a-directory-for-a-certain-search-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tracking down the biggest folders</title>
		<link>http://www.ezlinuxadmin.com/2011/08/tracking-down-the-biggest-folders/</link>
		<comments>http://www.ezlinuxadmin.com/2011/08/tracking-down-the-biggest-folders/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 19:17:00 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Cpanel and WHM]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[finding a folder]]></category>
		<category><![CDATA[folder size]]></category>
		<category><![CDATA[folder size search]]></category>
		<category><![CDATA[list folder size]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=540</guid>
		<description><![CDATA[du -ax --max-depth 1 /var/cpanel &#124; sort -n &#124; tail This is a great command to simply find what folders are the biggest in a directory. You can replace the /var/cpanel with any folder and it will list everything in there and how big they are in order. Once you find the big folder then [...]]]></description>
			<content:encoded><![CDATA[<pre>du -ax --max-depth 1 /var/cpanel | sort -n | tail</pre>
<p>This is a great command to simply find what folders are the biggest in a directory. You can replace the /var/cpanel with any folder and it will list everything in there and how big they are in order.</p>
<p>Once you find the big folder then search inside of that to find the biggest folder in there and so on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2011/08/tracking-down-the-biggest-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clear bash history through ssh command line</title>
		<link>http://www.ezlinuxadmin.com/2010/05/clear-bash-history-through-ssh-command-line/</link>
		<comments>http://www.ezlinuxadmin.com/2010/05/clear-bash-history-through-ssh-command-line/#comments</comments>
		<pubDate>Sun, 30 May 2010 20:01:12 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Clear]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[ssh command line]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=477</guid>
		<description><![CDATA[history -c]]></description>
			<content:encoded><![CDATA[<blockquote><p>history -c</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2010/05/clear-bash-history-through-ssh-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Path to date</title>
		<link>http://www.ezlinuxadmin.com/2010/05/path-to-date/</link>
		<comments>http://www.ezlinuxadmin.com/2010/05/path-to-date/#comments</comments>
		<pubDate>Tue, 25 May 2010 03:22:09 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Linux Operating Systems]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[path to date]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=474</guid>
		<description><![CDATA[The server path to date can very for different servers, you will need to run this command to find it: which date For most servers it is: /bin/date This is the same for perl and php]]></description>
			<content:encoded><![CDATA[<p>The server path to date can very for different servers, you will need to run this command to find it:</p>
<blockquote><p>which date</p></blockquote>
<p>For most servers it is:</p>
<blockquote><p>/bin/date</p></blockquote>
<p>This is the same for perl and php</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2010/05/path-to-date/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>setroubleshoot bug</title>
		<link>http://www.ezlinuxadmin.com/2010/05/setroubleshoot/</link>
		<comments>http://www.ezlinuxadmin.com/2010/05/setroubleshoot/#comments</comments>
		<pubDate>Mon, 24 May 2010 06:20:07 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cpanel and WHM]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[/usr/bin/python]]></category>
		<category><![CDATA[setroubleshoot]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=472</guid>
		<description><![CDATA[There is a bug with the new option in Centos 5 called setroubleshoot. The bug spins the program over and over causing high memory and sometimes CPU use. Unfortunately there is no permanent fix yet, but if you see something like this high in your daily process log: /usr/bin/python -E /usr/sbin/setroubleshootd To fix for now [...]]]></description>
			<content:encoded><![CDATA[<p>There is a bug with the new option in Centos 5 called setroubleshoot.</p>
<p>The bug spins the program over and over causing high memory and sometimes CPU use. Unfortunately there is no permanent fix yet, but if you see something like this high in your daily process log:</p>
<blockquote><p>/usr/bin/python -E /usr/sbin/setroubleshootd</p></blockquote>
<p>To fix for now you simply have to restart the process:</p>
<blockquote><p>/etc/init.d/setroubleshoot restart</p></blockquote>
<p>For a long term fix f this problem click here: <a href="http://www.ezlinuxadmin.com/2011/05/setroubleshootd-and-selinux-is-not-considered-compatible-with-cpanel/">setroubleshootd bug</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2010/05/setroubleshoot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When asking about a networking issue, get these details from the server</title>
		<link>http://www.ezlinuxadmin.com/2010/04/asking-networking-issue-server/</link>
		<comments>http://www.ezlinuxadmin.com/2010/04/asking-networking-issue-server/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 20:14:04 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[lan]]></category>
		<category><![CDATA[networking issue]]></category>
		<category><![CDATA[nic]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=460</guid>
		<description><![CDATA[Kernal version uname -a Nic / Lan driver version dmesg &#124; grep r8169 Internet controller lspci -nn &#124; grep Ethernet Details on etho nic card sudo ethtool eth0 Module size lsmod &#124; grep r8169 Module versions cat /proc/modules &#124; grep r8169 Don&#8217;t worry all these commands are safe and just for reporting.]]></description>
			<content:encoded><![CDATA[<p>Kernal version</p>
<blockquote><p><span><span style="font-family: Courier New;">uname -a </span></span></p></blockquote>
<p>Nic / Lan driver version</p>
<blockquote><p><span><span style="font-family: Courier New;">dmesg | grep r8169</span></span></p></blockquote>
<p>Internet controller</p>
<blockquote><p><span><span style="font-family: Courier New;">lspci -nn | grep Ethernet</span></span></p></blockquote>
<p>Details on etho nic card</p>
<blockquote><p><span><span style="font-family: Courier New;">sudo ethtool eth0</span></span></p></blockquote>
<p>Module size</p>
<blockquote><p><span><span style="font-family: Courier New;">lsmod | grep r8169</span></span></p></blockquote>
<p>Module versions</p>
<blockquote><p><span><span style="font-family: Courier New;">cat /proc/modules | grep r8169</span></span></p></blockquote>
<p><span><span style="font-family: Courier New;"><strong>Don&#8217;t worry all these commands are safe and just for reporting.</strong><br />
</span></span></p>
<p><span><span style="font-family: Courier New;"><br />
</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2010/04/asking-networking-issue-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to do a search and replace over multiple files</title>
		<link>http://www.ezlinuxadmin.com/2010/03/how-to-do-a-search-and-replace-over-multiple-files/</link>
		<comments>http://www.ezlinuxadmin.com/2010/03/how-to-do-a-search-and-replace-over-multiple-files/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 03:51:46 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[search and replace]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=439</guid>
		<description><![CDATA[You could also use find and sed, but I find that this little line of perl works nicely. perl -pi -w -e &#8216;s/search/replace/g;&#8217; *.php -e means execute the following line of code. -i means edit in-place -w write warnings -p loop Example I had the following style sheet in a section: &#60;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;../includes/style.css&#8221;&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>You could also use find and sed, but I find that this little line of perl works nicely.<br />
perl -pi -w -e &#8216;s/search/replace/g;&#8217; *.php</p>
<p>-e means execute the following line of code.<br />
-i means edit in-place<br />
-w write warnings<br />
-p loop</p>
<p>Example I had the following style sheet in a section:<br />
&lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;../includes/style.css&#8221;&gt;</p>
<p>and I wanted the following instead:<br />
&lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;admin.css&#8221;&gt;</p>
<p>As each expression is a regular expression you&#8217;ve got to escape the special characters such as forward slash and .<br />
\.\.\/includes\/style\.css</p>
<p>So the final line of code ends up as<br />
perl -pi -w -e &#8216;s/\.\.\/includes\/style\.css/admin\.css/g;&#8217; *.php</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2010/03/how-to-do-a-search-and-replace-over-multiple-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting a md5sum error when tranferring a cpanel account?</title>
		<link>http://www.ezlinuxadmin.com/2010/03/getting-a-md5sum-error-when-tranferring-a-cpanel-account/</link>
		<comments>http://www.ezlinuxadmin.com/2010/03/getting-a-md5sum-error-when-tranferring-a-cpanel-account/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 12:19:41 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cpanel and WHM]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[Cpanel transfer error]]></category>
		<category><![CDATA[md5sum error]]></category>
		<category><![CDATA[upgrade perl]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=434</guid>
		<description><![CDATA[This usually means you need to upgrade Perl on the server. Here is a example of a md5sum error. The remote server didn&#8217;t report a correct md5sum of the archive. Please ensure you selected the correct type of remote server. To fix upgrade Perl as shown here: http://www.ezlinuxadmin.com/2009/08/upgrading-perl-on-cpanel/]]></description>
			<content:encoded><![CDATA[<p>This usually means you need to upgrade Perl on the server. Here is a example of a md5sum error.</p>
<blockquote><p>The remote server didn&#8217;t report a correct md5sum of the archive. Please ensure you selected the correct type of remote server.</p></blockquote>
<p>To fix upgrade Perl as shown here:</p>
<p><a href="http://www.ezlinuxadmin.com/2009/08/upgrading-perl-on-cpanel/">http://www.ezlinuxadmin.com/2009/08/upgrading-perl-on-cpanel/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2010/03/getting-a-md5sum-error-when-tranferring-a-cpanel-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My new favorite rsync command</title>
		<link>http://www.ezlinuxadmin.com/2010/03/my-new-favorite-rsync-command/</link>
		<comments>http://www.ezlinuxadmin.com/2010/03/my-new-favorite-rsync-command/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 12:04:33 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[rsync code]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=432</guid>
		<description><![CDATA[rsync -vae ssh 12.123.123.123:/home/dwhsbackup/daily/username/ /backup/cpbackup/daily2/username/ –bwlimit=10000 &#8211;exclude-from &#8216;/root/exclude.txt&#8217;]]></description>
			<content:encoded><![CDATA[<blockquote><p>rsync -vae ssh 12.123.123.123:/home/dwhsbackup/daily/username/ /backup/cpbackup/daily2/username/ –bwlimit=10000 &#8211;exclude-from &#8216;/root/exclude.txt&#8217;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2010/03/my-new-favorite-rsync-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

