<?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>ThinkSupport.net - Outsourced Web Hosting Support, Cheap Server Management, Cheap Fully Managed Dedicated Servers, Software Development, Website Designing and SEO services, Vision Helpdesk Software &#187; Ensim</title>
	<atom:link href="http://www.thinksupport.net/blog/category/ensim/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thinksupport.net/blog</link>
	<description>Outsourced Web Hosting and Software Development</description>
	<lastBuildDate>Tue, 01 Feb 2011 12:42:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>How to Send Email from a PHP Script</title>
		<link>http://www.thinksupport.net/blog/how-to-send-email-from-a-php-script.html</link>
		<comments>http://www.thinksupport.net/blog/how-to-send-email-from-a-php-script.html#comments</comments>
		<pubDate>Sat, 12 Jan 2008 06:22:43 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Direct Admin]]></category>
		<category><![CDATA[Ensim]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Helm]]></category>
		<category><![CDATA[HSP]]></category>
		<category><![CDATA[HSphere]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP / Mysql]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[WHM/cPanel]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/how-to-send-email-from-a-php-script.html</guid>
		<description><![CDATA[Using php mail() function to send emails from php script. Send Email from a PHP Script Example : The first argument to this function is the recipient, the second specifies the message&#8217;s subject and the third one should contain the body. So to send a simple sample message, we could use:]]></description>
			<content:encoded><![CDATA[<p>Using  php mail() function to send emails from php script.</p>
<p>Send Email from a PHP Script Example :</p>
<p>The first argument to this function is the recipient, the second specifies the message&#8217;s subject and the third one should contain the body. So to send a simple sample message, we could use:</p>
<blockquote><p>
<? php<br />
    $to = "recipient@example.com";<br />
    $subject = "Hi!";<br />
    $body = "Hi,\n\nHow are you?";<br />
    if (mail($to, $subject, $body)) {<br />
      echo("
<p>Message successfully sent!</p>
<p>&#8220;);<br />
     } else {<br />
      echo(&#8220;
<p>Message delivery failed&#8230;</p>
<p>&#8220;);<br />
     }<br />
    ?>
</p></blockquote>
<p>Save this file as mail.php and browse from url http://yourdomain/mail.php </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/how-to-send-email-from-a-php-script.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what ports are listening on my server?</title>
		<link>http://www.thinksupport.net/blog/what-ports-are-listening-on-my-server.html</link>
		<comments>http://www.thinksupport.net/blog/what-ports-are-listening-on-my-server.html#comments</comments>
		<pubDate>Sun, 29 Jul 2007 10:50:05 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Ensim]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/what-ports-are-listening-on-my-server.html</guid>
		<description><![CDATA[You can use this commands &#8211; lsof -i Or netstat &#8211;listen]]></description>
			<content:encoded><![CDATA[<p>You can use this commands &#8211;</p>
<p>lsof -i</p>
<p>Or </p>
<p>netstat &#8211;listen</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/what-ports-are-listening-on-my-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Quota Check Tool</title>
		<link>http://www.thinksupport.net/blog/mysql-quota-check-tool.html</link>
		<comments>http://www.thinksupport.net/blog/mysql-quota-check-tool.html#comments</comments>
		<pubDate>Sat, 26 May 2007 06:29:36 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Articles -- Webhosting]]></category>
		<category><![CDATA[Direct Admin]]></category>
		<category><![CDATA[Ensim]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP / Mysql]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[WHM/cPanel]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=204</guid>
		<description><![CDATA[I came across wonderfull mysql quota check tool &#8212; Here is how it works - The MySQL Quota-Tool helps you to set a size limit on MySQL databases. It works by checking the size of each database and revoking the INSERT- and REATE-priveleges for the databases, which exceed the given size limit. When the size [...]]]></description>
			<content:encoded><![CDATA[<p>I came across wonderfull mysql quota check tool &#8212; Here is how it works -</p>
<p>The MySQL Quota-Tool helps you to set a size limit on MySQL databases.</p>
<p>It works by checking the size of each database and revoking the INSERT- and REATE-priveleges for the databases, which exceed the given size limit.</p>
<p>When the size of the database falls below the given limit, the INSERT- and CREATE-priveleges are granted again.</p>
<p>This (of course) doesn&#8217;t work for users who have global priveleges, because the quota is database and not user based, but in most environments privileges are given in the &#8220;db&#8221;-table which is modified by the MySQL Quota Tool. </p>
<p><code>#!/usr/bin/php -q<br />
<?PHP</p>
<p>/*<br />
 * MySQL quota script<br />
 * written by Sebastian Marsching<br />
 *<br />
 */</p>
<p>/*<br />
    This program is free software; you can redistribute it and/or modify<br />
    it under the terms of the GNU General Public License as published by<br />
    the Free Software Foundation; either version 2 of the License, or<br />
    (at your option) any later version.</p>
<p>    This program is distributed in the hope that it will be useful,<br />
    but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br />
    GNU General Public License for more details.</p>
<p>    You should have received a copy of the GNU General Public License<br />
    along with this program; if not, write to the Free Software<br />
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA<br />
*/</p>
<p>/*<br />
 * Create table for quota data with the following statement:<br />
 *<br />
 * CREATE TABLE `Quota` (`Db` CHAR(64) NOT NULL,<br />
 * `Limit` BIGINT NOT NULL,<br />
 * `Exceeded` ENUM('Y','N') DEFAULT 'N' NOT NULL,<br />
 * PRIMARY KEY (`Db`), UNIQUE (`Db`));<br />
 *<br />
 * The field 'db' stores the information for which database<br />
 * you want to limit the size.<br />
 * The field 'limit' is the size limit in bytes.<br />
 * The field 'exceeded' is only used internally and must be<br />
 * initialized with 'N'.<br />
 */</p>
<p>/*<br />
 * Settings<br />
 */</p>
<p>$mysql_host  = 'localhost';<br />
$mysql_user  = 'root'; // Do NOT change, root-access is required<br />
$mysql_pass  = '';<br />
$mysql_db    = 'quotadb'; // Not the DB to check, but the db with the quota table<br />
$mysql_table = 'quota';</p>
<p>/*<br />
 * Do NOT change anything below<br />
 */</p>
<p>$debug = 0;</p>
<p>// Connect to MySQL Server</p>
<p>if (!mysql_connect($mysql_host, $mysql_user, $mysql_pass))<br />
{<br />
 echo "Connection to MySQL-server failed!";<br />
 exit;<br />
}</p>
<p>// Select database</p>
<p>if (!mysql_select_db($mysql_db))<br />
{<br />
 echo "Selection of database $mysql_db failed!";<br />
 exit;<br />
}</p>
<p>// Check quota for each entry in quota table</p>
<p>$sql = "SELECT * FROM $mysql_table;";<br />
$result = mysql_query($sql);</p>
<p>while ($row = mysql_fetch_array($result))<br />
{<br />
 $quota_db = $row['db'];<br />
 $quota_limit = $row['limit'];<br />
 $quota_exceeded = ($row['exceeded']=='Y') ? 1 : 0;</p>
<p> if ($debug)<br />
  echo "Checking quota for '$quota_db'...\n";</p>
<p> $qsql = "SHOW TABLE STATUS FROM $quota_db;";<br />
 $qresult = mysql_query($qsql);</p>
<p> if ($debug)<br />
  echo "SQL-query is \"$qsql\"\n";</p>
<p> $quota_size = 0;</p>
<p> while ($qrow = mysql_fetch_array($qresult))<br />
 {<br />
  if ($debug)<br />
  { echo "Result of query:\n"; var_dump($qrow); }<br />
  $quota_size += $qrow['Data_length'] + $qrow['Index_length'];<br />
 }</p>
<p> if ($debug)<br />
  echo "Size is $quota_size bytes, limit is $quota_limit bytes\n";</p>
<p> if ($debug &#038;&#038; $quota_exceeded)<br />
  echo "Quota is marked as exceeded.\n";<br />
 if ($debug &#038;&#038; !$quota_exceeded)<br />
  echo "Quota is not marked as exceeded.\n";</p>
<p> if (($quota_size > $quota_limit) &#038;&#038; !$quota_exceeded)<br />
 {<br />
  if ($debug)<br />
   echo "Locking database...\n";<br />
  // Save in quota table<br />
  $usql = "UPDATE $mysql_table SET exceeded='Y' WHERE db='$quota_db';";<br />
  mysql_query($usql);<br />
  if ($debug)<br />
   echo "Querying: $usql\n";<br />
  // Dismiss CREATE and INSERT privilege for database<br />
  mysql_select_db('mysql');<br />
  $usql = "UPDATE db SET Insert_priv='N', Create_priv='N' WHERE Db='$quota_db';";<br />
  mysql_query($usql);<br />
  if ($debug)<br />
   echo "Querying: $usql\n";<br />
  mysql_select_db($mysql_db);<br />
 }</p>
<p> if (($quota_size <= $quota_limit) &#038;&#038; $quota_exceeded)<br />
 {<br />
  if ($debug)<br />
   echo "Unlocking database...\n";<br />
  // Save in quota table<br />
  $usql = "UPDATE $mysql_table SET exceeded='N' WHERE db='$quota_db';";<br />
  mysql_query($usql);<br />
  if ($debug)<br />
   echo "Querying: $usql\n";<br />
  // Grant CREATE and INSERT privilege for database<br />
  mysql_select_db('mysql');<br />
  $usql = "UPDATE db SET Insert_priv='Y', Create_priv='Y' WHERE Db='$quota_db';";<br />
  mysql_query($usql);<br />
  if ($debug)<br />
   echo "Querying: $usql\n";<br />
  mysql_select_db($mysql_db);<br />
 }<br />
}</p>
<p>?></code></p>
<p>&#8212;-</p>
<p>More details can be found at &#8211;<a href="http://projects.marsching.org/mysql_quota/"> http://projects.marsching.org/mysql_quota/</a></p>
<p>I am going to install this tool and see how it works for me <img src='http://www.thinksupport.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Thanks,<br />
Preeti S.<br />
<a href="http://ThinkSupport.net">ThinkSupport.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/mysql-quota-check-tool.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Here is how to turn off safe_mode in php for 1 domain &#8212; Ensim Server</title>
		<link>http://www.thinksupport.net/blog/here-is-how-to-turn-off-safe_mode-in-php-for-1-domain-ensim-server.html</link>
		<comments>http://www.thinksupport.net/blog/here-is-how-to-turn-off-safe_mode-in-php-for-1-domain-ensim-server.html#comments</comments>
		<pubDate>Fri, 25 May 2007 14:31:32 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Ensim]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=203</guid>
		<description><![CDATA[Here is how to turn off safe_mode in php for 1 domain pico /etc/httpd/conf/siteXX/safemode where &#8216;siteXX&#8217; is the domain&#8217;s site number. &#8220;sitelookup -d domain.com&#8221; to get site number in that file type this line: php_admin_flag safe_mode off now restart apache Thanks]]></description>
			<content:encoded><![CDATA[<p>Here is how to turn off safe_mode in php for 1 domain</p>
<p>pico /etc/httpd/conf/siteXX/safemode</p>
<p>where &#8216;siteXX&#8217; is the domain&#8217;s site number.</p>
<p>&#8220;sitelookup -d domain.com&#8221; to get site number</p>
<p>in that file type this line:</p>
<p>php_admin_flag safe_mode off</p>
<p>now restart apache</p>
<p>Thanks </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/here-is-how-to-turn-off-safe_mode-in-php-for-1-domain-ensim-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic Linux commands.</title>
		<link>http://www.thinksupport.net/blog/basic-linux-commands.html</link>
		<comments>http://www.thinksupport.net/blog/basic-linux-commands.html#comments</comments>
		<pubDate>Fri, 18 May 2007 06:47:38 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Direct Admin]]></category>
		<category><![CDATA[Ensim]]></category>
		<category><![CDATA[HSphere]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[WHM/cPanel]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=200</guid>
		<description><![CDATA[I often forget commands I decided to post them at one place (cheers to websites from which I copied the details ) &#8211; now I don&#8217;t have to google everytime &#8212; I am sorry google you missed few of my hits ls List files/directories in a directory, comparable to dir in windows/dos. ls -la Shows [...]]]></description>
			<content:encoded><![CDATA[<p>I often forget commands <img src='http://www.thinksupport.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I decided to post them at one place (cheers to websites from which I copied the details ) &#8211; now I don&#8217;t have to google everytime  &#8212; I am sorry google you missed few of my hits <img src='http://www.thinksupport.net/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  </p>
<p><strong>ls </strong></p>
<p>List files/directories in a directory, comparable to dir in windows/dos.</p>
<p><strong>ls -la</strong></p>
<p>Shows all files (including ones that start with a period), directories, and details attributes for each file.</p>
<p><strong>cd</strong></p>
<p>Change directory (e.g cd /usr/local/bin)</p>
<p><strong>cd ~</strong></p>
<p>Go to your home directory</p>
<p><strong>cd -</strong></p>
<p>Go to the last directory you were in</p>
<p><strong>cd ..</strong></p>
<p>Go up a directory</p>
<p><strong>cat</strong></p>
<p>Print file contents to the screen</p>
<p><strong>cat filename.txt</strong></p>
<p>Print the contents of filename.txt to your screen </p>
<p><strong>tail</strong></p>
<p>Similar to cat, but only reads the end of the file</p>
<p><strong>tail /var/log/messages</strong></p>
<p>See the last 20 (by default) lines of /var/log/messages</p>
<p><strong>tail -f /var/log/messages</strong></p>
<p>Watch the file continuously, while it&#8217;s being updated</p>
<p><strong>tail -200 /var/log/messages</strong></p>
<p>Print the last 200 lines of the file to the screen</p>
<p><strong>head</strong></p>
<p>Similar to tail, but only reads the top of the file<br />
<strong><br />
head /var/log/messages</strong></p>
<p>See the first 20 (by default) lines of /var/log/messages</p>
<p><strong>head -200 /var/log/messages</strong></p>
<p>Print the first 200 lines of the file to the screen</p>
<p><strong>more</strong></p>
<p>Llike cat, but opens the file one screen at a time rather than all at once</p>
<p><strong>more /etc/userdomains</strong></p>
<p>Browse through the userdomains file. hit Spaceto go to the next page, q to quit </p>
<p><strong>less</strong></p>
<p>Page through files</p>
<p><strong>od</strong></p>
<p>View binary files and data</p>
<p><strong>xxd</strong></p>
<p>Also view binary files and data</p>
<p><strong>gv</strong></p>
<p>View Postscript/PDF files</p>
<p><strong>xdvi</strong></p>
<p>View TeX DVI files</p>
<p><strong>nl</strong></p>
<p>Number lines</p>
<p><strong>touch </strong></p>
<p>Create an empty file</p>
<p><strong>touch /home/burst/public_html/404.html</strong></p>
<p>Create an empty file called 404.html in the directory /home/burst/public_html/ </p>
<p><strong>file</strong></p>
<p>Attempts to guess what type of file a file is by looking at it&#8217;s content. </p>
<p><strong>file *</strong></p>
<p>Prints out a list of all files/directories in a directory </p>
<p><strong>cp</strong></p>
<p>Copy a file </p>
<p><strong>cp filename filename.bak</strong></p>
<p>Copies filename to filename.bak</p>
<p><strong>cp -a /etc/* /root/etc/</strong></p>
<p>Copies all files, retaining permissions form one directory to another. </p>
<p><strong>cp -av * ../newdirectory</strong></p>
<p>Copies all files and directories recurrsively in the current directory INTO newdirectory</p>
<p><strong>mv</strong></p>
<p>Move a file command</p>
<p><strong>mv oldfilename newfilename</strong></p>
<p>Move a file or directory from oldfilename to newfilename</p>
<p><strong>rm</strong></p>
<p>delete a file</p>
<p><strong>rm filename.txt</strong></p>
<p>deletes filename.txt, will more than likely ask if you really want to delete it</p>
<p><strong>rm -f filename.txt</strong></p>
<p>deletes filename.txt, will not ask for confirmation before deleting.</p>
<p><strong>rm -rf tmp/</strong></p>
<p>recursively deletes the directory tmp, and all files in it, including subdirectories.</p>
<p><strong>chmod</strong></p>
<p>changes file access permissions. The set of 3 go in this order from left to right:<br />
USER &#8211; GROUP &#8211; EVERONE</p>
<p>0 = &#8212; No permission<br />
1 = &#8211;X Execute only<br />
2 = -W- Write only<br />
3 = -WX Write and execute<br />
4 = R&#8211; Read only<br />
5 = R-X Read and execute<br />
6 = RW- Read and write<br />
7 = RWX Read, write and execute</p>
<p><strong>chmod 000</strong></p>
<p>No one can access </p>
<p><strong>chmod 644</strong></p>
<p>Usually for HTML pages</p>
<p><strong>chmod 755</strong></p>
<p>Usually for CGI scripts</p>
<p><strong>chown</strong></p>
<p>Changes file ownership permissions<br />
The set of 2 go in this order from left to right:<br />
USER &#8211; GROUP</p>
<p><strong>chown root myfile.txt</strong></p>
<p>Changes the owner of the file to root</p>
<p><strong>chown root.root myfile.txt</strong></p>
<p>Changes the owner and group of the file to root</p>
<p><strong>stat</strong></p>
<p>Display file attributes</p>
<p><strong>grep</strong></p>
<p>Llooks for patterns in files</p>
<p><strong>grep root /etc/passwd</strong></p>
<p>Shows all matches of root in /etc/passwd</p>
<p><strong>grep -v root /etc/passwd</strong></p>
<p>Shows all lines that do not match root</p>
<p><strong>ln</strong></p>
<p>Create&#8217;s &#8220;links&#8221; between files and directories</p>
<p><strong>ln -s /usr/local/apache/conf/httpd.conf /etc/httpd.conf</strong></p>
<p>Now you can edit /etc/httpd.conf rather than the original. changes will affect the orginal, however you can delete the link and it will not delete the original.</p>
<p><strong>wc</strong></p>
<p>Word count</p>
<p><strong>wc -l filename.txt</strong></p>
<p>Tells how many lines are in filename.txt </p>
<p><strong>find</strong></p>
<p>Utility to find files and directories on your server.</p>
<p><strong>find / -name &#8220;filename&#8221;</strong></p>
<p>Find the file called &#8220;filename&#8221; on your filesystem starting the search from the root directory &#8220;/&#8221;.</p>
<p><strong>locate filename</strong></p>
<p>Find the file name and path of which contains the string &#8220;filename&#8221;. Run &#8216;updatedb&#8217; to build index.</p>
<p><strong>EDITORS</strong></p>
<p>Most popular editors available on UNIX platforms.</p>
<p><strong>pico</strong></p>
<p>Friendly, easy to use file editor</p>
<p><strong>pico /home/burst/public_html/index.html</strong></p>
<p>Edit the index page for the user&#8217;s website. </p>
<p><strong>vi</strong></p>
<p>Popular editor, tons of features, harder to use at first than pico</p>
<p><strong>vi filename.txt</strong></p>
<p>Edit filename.txt. All commands in vi are preceded by pressing the escape key. Each time a different command is to be entered, the escape key needs to be used. Except where indicated, vi is case sensitive. Fore more commands go to: http://www.intellink.net/vi-qref.htm</p>
<p>H &#8212; Upper left corner (home)<br />
M &#8212; Middle line<br />
L &#8212; Lower left corner<br />
h &#8212; Back a character<br />
j &#8212; Down a line<br />
k &#8212; Up a line<br />
^ &#8212; Beginning of line<br />
$ &#8212; End of line<br />
l &#8212; Forward a character<br />
w &#8212; Forward one word<br />
b &#8212; Back one word<br />
fc &#8212; Find c<br />
; &#8212; Repeat find (find next c) </p>
<p>:q! &#8212; This force quits the file without saving and exits vi<br />
:w &#8212; This writes the file to disk, saves it<br />
:wq &#8212; This saves the file to disk and exists vi<br />
:LINENUMBER : EG :25 &#8212; Takes you to line 25 within the file<br />
:$ &#8212; Takes you to the last line of the file<br />
:0 &#8212; Takes you to the first line of the file<br />
<strong><br />
emacs</strong></p>
<p>Another popular editor. For more commands go to http://www.hsrl.rutgers.edu/ug/emacs_qref.html</p>
<p>C-\ t &#8212; Tutorial suggested for new emacs users.<br />
C-x C-c exit emacs<br />
<strong><br />
emacs filename.txt</strong></p>
<p>Edit filename.txt. While you&#8217;re in emacs, use the following quickies to get around:</p>
<p>C-x C-f &#8212; read a file into emacs<br />
C-x C-s &#8212; save a file back to disk<br />
C-x i &#8212; insert contents of another file into this buffer<br />
C-x C-v &#8212; replace this file with the contents of file you want<br />
C-x C-w &#8212; write buffer to specified file</p>
<p>C-f &#8212; move forward one character<br />
C-b &#8212; move backward one character<br />
C-n &#8212; move to next line<br />
C-p &#8212; move to previous line<br />
C-a &#8212; move to beginning of line<br />
C-e &#8212; move to end of line<br />
M-f &#8212; move forward one word<br />
M-b &#8212; move backword one word<br />
C-v &#8212; move forward one screen<br />
M-v &#8212; move backward one screen<br />
M-< --- go to beginning of file<br />
M-> &#8212; go to end of file</p>
<p><strong>NETWORK</strong></p>
<p>Some of the basic networking utilities.</p>
<p><strong>w</strong></p>
<p>Shows who is currently logged in and where they are logged in from.</p>
<p><strong>who</strong></p>
<p>This also shows who is on the server in an shell.</p>
<p><strong>netstat</strong></p>
<p>Shows all current network connections.</p>
<p><strong>netstat -an</strong></p>
<p>Shows all connections to the server, the source and destination ips and ports.</p>
<p><strong>netstat -rn</strong></p>
<p>Shows routing table for all ips bound to the server.</p>
<p><strong>netstat -an |grep :80 |wc -l</strong></p>
<p>Show how many active connections there are to apache (httpd runs on port 80)</p>
<p><strong>top</strong></p>
<p>Shows live system processes in a formatted table, memory information, uptime and other useful info. </p>
<p>While in top, Shift + M to sort by memory usage or Shift + P to sort by CPU usage</p>
<p><strong>top -u root</strong></p>
<p>Show processes running by user root only.</p>
<p><strong>route -n</strong></p>
<p>Shows routing table for all ips bound to the server.</p>
<p><strong>nslookup yahoo.com</strong></p>
<p>Query your default domain name server (DNS) for an Internet name (or IP number) host_to_find.</p>
<p>top</p>
<p>Shows live system processes in a formatted table, memory information, uptime and other useful info. </p>
<p>While in top, Shift + M to sort by memory usage or Shift + P to sort by CPU usage</p>
<p><strong>top -u root</strong></p>
<p>Show processes running by user root only.</p>
<p><strong>route -n</strong></p>
<p>Shows routing table for all ips bound to the server.</p>
<p><strong>nslookup yahoo.com</strong></p>
<p>Query your default domain name server (DNS) for an Internet name (or IP number) host_to_find.<br />
<strong><br />
traceroute yahoo.com</strong></p>
<p>Have a look how you messages travel to yahoo.com</p>
<p><strong>ifconfig</strong></p>
<p>Display info on the network interfaces.</p>
<p><strong>ifconfig -a</strong></p>
<p>Display into on all network interfaces on server, active or inactive..</p>
<p><strong>ping</strong></p>
<p>Sends test packets to a specified server to check if it is responding properly<br />
<strong><br />
tcpdump</strong></p>
<p>Print all the network traffic going through the network.</p>
<p><strong>arp</strong></p>
<p>Command mostly used for checking existing Ethernet connectivity and IP address</p>
<p><strong>SYSTEM TOOLS</strong></p>
<p>Many of the basic system utilities used to get things done.</p>
<p><strong>ps</strong></p>
<p>ps is short for process status, which is similar to the top command. It&#8217;s used to show currently running processes and their PID.<br />
A process ID is a unique number that identifies a process, with that you can kill or terminate a running program on your server (see kill command).</p>
<p><strong>ps</strong></p>
<p>ps is short for process status, which is similar to the top command. It&#8217;s used to show currently running processes and their PID.<br />
A process ID is a unique number that identifies a process, with that you can kill or terminate a running program on your server (see kill command).</p>
<p><strong>ps U username</strong></p>
<p>Shows processes for a certain user</p>
<p><strong>ps aux</strong></p>
<p>Shows all system processes</p>
<p><strong>ps aux &#8211;forest</strong></p>
<p>Shows all system processes like the above but organizes in a hierarchy that&#8217;s very useful!</p>
<p><strong>kill</strong></p>
<p>terminate a system process</p>
<p><strong>kill -9 PID</strong></p>
<p>Immediately kill process ID</p>
<p><strong>killall program_name</strong></p>
<p>Kill program(s) by name. For example to kill instances of httpd, do &#8216;killall httpd&#8217;</p>
<p><strong>du</strong></p>
<p>Shows disk usage. </p>
<p><strong>du -sh</strong></p>
<p>Shows a summary of total disk space used in the current directory, including subdirectories.</p>
<p><strong>du / -bh | more</strong></p>
<p>Print detailed disk usage for each subdirectory starting at the &#8220;/&#8221;.</p>
<p><strong>last</strong></p>
<p>Shows who logged in and when</p>
<p><strong>last -20</strong></p>
<p>Shows only the last 20 logins</p>
<p><strong>last -20 -a</strong></p>
<p>Shows last 20 logins, with the hostname in the last field </p>
<p><strong>pwd</strong></p>
<p>Print working directory, i.e., display the name of my current directory on the screen.</p>
<p><strong>hostname</strong></p>
<p>Print the name of the local host. Use netconf (as root) to change the name of the machine.</p>
<p><strong>whoami</strong></p>
<p>Print my login name.</p>
<p><strong>date</strong></p>
<p>Print or change the operating system date and time</p>
<p><strong>time</strong></p>
<p>Determine the amount of time that it takes for a process to complete + other info.</p>
<p><strong>uptime</strong></p>
<p>Show the number days server has been up including system load averages. </p>
<p><strong>uname -a</strong></p>
<p>Displays info on about your server such as kernel version.</p>
<p><strong>free</strong></p>
<p>Memory info (in kilobytes).</p>
<p><strong>lsmod</strong></p>
<p>Show the kernel modules currently loaded. Run as root.</p>
<p><strong>dmesg | less</strong></p>
<p>Print kernel messages.</p>
<p><strong>man topic</strong></p>
<p>Display the contents of the system manual pages (help) on the topic. Do &#8216;man netstat&#8217; to find all details of netstat command including options and examples.</p>
<p><strong>reboot / halt</strong></p>
<p>Halt or reboot the machine.</p>
<p><strong>mount</strong></p>
<p>Mount local drive or remote file system.<br />
<strong><br />
mount -t auto /dev/fd0 /mnt/floppy </strong></p>
<p>Mount the floppy. The directory /mnt/floppy must exist.<br />
<strong><br />
mount -t auto /dev/cdrom /mnt/cdrom</strong></p>
<p>Mount the CD. The directory /mnt/cdrom must exist.</p>
<p><strong>sudo</strong></p>
<p>The super-user do command that allows you to run specific commands that require root access.</p>
<p><strong>fsck</strong></p>
<p>Check a disk for errors</p>
<p><strong>COMPRESSION UTILITIES</strong></p>
<p>There are many other compression utilities but these are the default and most widely utilized.</p>
<p><strong>tar</strong></p>
<p>Creating and Extracting .tar.gz and .tar files</p>
<p><strong>tar -zxvf file.tar.gz</strong></p>
<p>Extracts the file</p>
<p><strong>tar -xvf file.tar</strong></p>
<p>Extracts the file</p>
<p><strong>tar -cf archive.tar contents/</strong></p>
<p>Takes everything from contents/ and puts it into archive.tar</p>
<p><strong>gzip -d filename.gz</strong></p>
<p>gzip -d filename.gz</p>
<p><strong>zip</strong></p>
<p>Compress files into.zip</p>
<p><strong>unzip file.zip</strong></p>
<p>Extracting .zip files shell command</p>
<p><strong>compress</strong></p>
<p>Compress files. compress filename</p>
<p><strong>uncompress</strong></p>
<p>Uncompress compressed files. uncompress filename.Z</p>
<p><strong>bzip2</strong></p>
<p>Compress files in bzip2 format</p>
<p><strong>THE (DOT) FILES</strong></p>
<p>The good old dot files. Let&#8217;s clear up some confusion here by defining each.</p>
<p><strong>.bash_login</strong></p>
<p>Treated by bash like .bash_profileif that doesn&#8217;t exist.</p>
<p><strong>.bash_logout</strong></p>
<p>Sourced by bash login shells at exit.</p>
<p><strong>.bash_profile</strong></p>
<p>Sourced by bash login shells after /etc/profile</p>
<p><strong>.bash_history</strong></p>
<p>The list of commands executed previously.</p>
<p><strong>.profile</strong></p>
<p>Treated by bash like ~/.bash_profile if that and .bash_login don&#8217;t exist.</p>
<p><strong>.vimrc</strong></p>
<p>Default &#8220;Vim&#8221; configuration file.</p>
<p><strong>.emacs</strong></p>
<p>Read by emacs at startup</p>
<p><strong>CONFIGURATION FILES</strong></p>
<p>Listing everything is beyond the scope of this article.</p>
<p><strong>/etc</strong></p>
<p>This directory contains most of the basic Linux system-configuration Files.</p>
<p><strong>/etc/init.d</strong></p>
<p>Contains the permanent copies of System Vâ€“style run-level scripts. These scripts are often linked to files in the /etc/rc?.d directories to have each service associated with a script started or stopped for the particular run level. The ? is replaced by the run-level number (0 through 6). (Slackware puts its run-level scripts in the /etc/rc.d directory.)</p>
<p><strong>/etc/cron*</strong></p>
<p>Directories in this set contain files that define how the crond utility runs applications on a daily (cron.daily), hourly (cron.hourly), monthly (cron.monthly), or weekly (cron.weekly) schedule.</p>
<p><strong>/etc/cups</strong></p>
<p>Contains files used to configure the CUPS printing service.<br />
<strong><br />
/etc/default</strong></p>
<p>Contains files that set default values for various utilities. For example, the file for the useradd command defines the default group number, home directory, password expiration date, shell, and skeleton directory</p>
<p><strong>/etc/skel</strong></p>
<p>Any files contained in this directory are automatically copied to a userâ€™s home directory when that user is added to the system.</p>
<p><strong>/etc/mail</strong></p>
<p>Contains files used to configure your sendmail mail service.</p>
<p><strong>/etc/security</strong></p>
<p>Contains files that set a variety of default security conditions for your computer.</p>
<p><strong>/etc/sysconfig</strong></p>
<p>Contains important system configuration files that are created and maintained by various services (including iptables, samba, and most networking services).</p>
<p><strong>/etc/passwd</strong></p>
<p>Holds some user account info including passwords (when not &#8220;shadowed&#8221;).</p>
<p><strong>/etc/shadow</strong></p>
<p>Contains the encrypted password information for users&#8217; accounts and optionally the password aging information.</p>
<p><strong>/etc/xinetd.d </strong></p>
<p>Contains a set of files, each of which defines a network service that the xinetd daemon listens for on a particular port.</p>
<p><strong>/etc/syslogd.conf</strong></p>
<p>The configuration file for the syslogd daemon. syslogd is the daemon that takes care of logging (writing to disk) messages coming from other programs to the system.</p>
<p><strong>/var</strong></p>
<p>Contains variable data like system logging files, mail and printer spool directories, and transient and temporary files.</p>
<p><strong>/var/log</strong></p>
<p>Log files from the system and various programs/services, especially login (/var/log/wtmp, which logs all logins and logouts into the system) and syslog (/var/log/messages, where all kernel and system program message are usually stored).</p>
<p><strong> /var/log/messages</strong></p>
<p>System logs. The first place you should look at if your system is in trouble.</p>
<p><strong>/var/log/utmp</strong></p>
<p>Active user sessions. This is a data file and as such it can not be viewed normally.</p>
<p><strong>/var/log/wtmp</strong></p>
<p>Log of all users who have logged into and out of the system. The last command can be used to access a human readable form of this file.</p>
<p><strong>Apache Shell Commands</strong></p>
<p>Some of the basic and helpful apache commands.</p>
<p><strong>httpd -v</strong></p>
<p>Outputs the build date and version of the Apache server. </p>
<p><strong>httpd -l</strong></p>
<p>Lists compiled in Apache modules</p>
<p><strong>httpd status</strong></p>
<p>Only works if mod_status is enabled and shows a page of active connections </p>
<p><strong>service httpd restart </strong></p>
<p>Restarted Apache web server<br />
<strong><br />
MySQL Shell Commands</strong></p>
<p>Some of the basic and helpful MySQL commands.</p>
<p><strong>mysqladmin processlist</strong></p>
<p>Shows active mysql connections and queries</p>
<p><strong>mysqladmin processlist |wc -l</strong></p>
<p>Show how many current open connections there are to mysql</p>
<p><strong>mysqladmin drop database</strong></p>
<p>Drops/deletes the selected database</p>
<p><strong>mysqladmin create database</strong></p>
<p>Creates a mysql database</p>
<p><strong>mysql -u username -p password databasename < data.sql</strong></p>
<p>Restores a MySQL database from data.sql </p>
<p><strong>mysqldump -u username -p password database > data.sql</strong></p>
<p>Backup MySQL database to data.sql</p>
<p><strong>echo &#8220;show databases&#8221; | mysql -u root -p password|grep -v Database</strong></p>
<p>Show all databases in MySQL server.</p>
<p><strong>mysqldump -u root -p password database > /tmp/database.exp</strong></p>
<p>Dump database including all data and structure into /tmp/database.exp</p>
<p>Thank You,<br />
Preeti S<br />
<a href="http://thinksupport.net">ThinkSupport.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/basic-linux-commands.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CGI is down on the server!</title>
		<link>http://www.thinksupport.net/blog/cgi-is-down-on-the-server.html</link>
		<comments>http://www.thinksupport.net/blog/cgi-is-down-on-the-server.html#comments</comments>
		<pubDate>Sat, 12 May 2007 12:39:45 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Direct Admin]]></category>
		<category><![CDATA[Ensim]]></category>
		<category><![CDATA[HSphere]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[WHM/cPanel]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=190</guid>
		<description><![CDATA[First check the Apache error logs. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; [Sat Mar 31 21:24:19 2007] [error] [client 65.254.32.50] Premature end of script headers: /home/youngerb/public_html/cgi-bin/at3/admin.cgi admin.cgi: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory [Sat Mar 31 21:24:29 2007] [error] [client 59.95.36.168] Premature end of script headers: /home/youngerb/public_html/cgi-bin/at3/admin.cgi &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; It seems [...]]]></description>
			<content:encoded><![CDATA[<p>First check the Apache error logs.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[Sat Mar 31 21:24:19 2007] [error] [client 65.254.32.50] Premature end of script headers: /home/youngerb/public_html/cgi-bin/at3/admin.cgi<br />
admin.cgi: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory<br />
[Sat Mar 31 21:24:29 2007] [error] [client 59.95.36.168] Premature end of script headers: /home/youngerb/public_html/cgi-bin/at3/admin.cgi<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>It seems shared libraries libstdc++.so.5 is missing or courrpted on the server.</p>
<p>Just do this</p>
<p>yum install compat-lib*</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/cgi-is-down-on-the-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to access PHP5 ?</title>
		<link>http://www.thinksupport.net/blog/how-to-access-php5.html</link>
		<comments>http://www.thinksupport.net/blog/how-to-access-php5.html#comments</comments>
		<pubDate>Sat, 28 Apr 2007 12:33:11 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Direct Admin]]></category>
		<category><![CDATA[Ensim]]></category>
		<category><![CDATA[HSphere]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP / Mysql]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[WHM/cPanel]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=148</guid>
		<description><![CDATA[How to access PHP5 on your server if you have both PHP4 and PHP5 installed. You can enabled PHP5 on particular domain by adding following line in .htaccess under public_html folder &#8211; AddType application/x-httpd-php5 .php Thank you]]></description>
			<content:encoded><![CDATA[<p>How to access PHP5 on your server if you have both PHP4 and PHP5 installed.</p>
<p>You can enabled PHP5 on particular domain by adding following line in .htaccess under public_html folder &#8211;</p>
<p>AddType application/x-httpd-php5 .php</p>
<p>Thank you <img src='http://www.thinksupport.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/how-to-access-php5.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing and Configure Squid Proxy Server</title>
		<link>http://www.thinksupport.net/blog/installing-and-configure-squid-proxy-server.html</link>
		<comments>http://www.thinksupport.net/blog/installing-and-configure-squid-proxy-server.html#comments</comments>
		<pubDate>Fri, 27 Apr 2007 08:13:47 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Articles -- Webhosting]]></category>
		<category><![CDATA[Direct Admin]]></category>
		<category><![CDATA[Ensim]]></category>
		<category><![CDATA[HSphere]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[WHM/cPanel]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=147</guid>
		<description><![CDATA[Here are the simple steps to install squid &#8211; Login as root and execute, cd /usr/local/src wget http://www.squid-cache.org/Versions/v2/2.5/squid-2.5.STABLE14.tar.gz tar -zxvf squid-2.5.STABLE14.tar.gz cd squid-2.5.STABLE14 ./configure &#8211;prefix=/usr/local/squid &#8211;disable-ident-lookups make all make install Add the user squid, create the cache directory and then set permissions. useradd -d /usr/local/squid/cache/ -r -s /dev/null squid >/dev/null 2>&#038;1 mkdir /usr/local/squid/cache chown -R [...]]]></description>
			<content:encoded><![CDATA[<p>Here are the simple steps to install squid &#8211;</p>
<p><strong>Login as root and execute,</strong></p>
<p>cd /usr/local/src<br />
wget http://www.squid-cache.org/Versions/v2/2.5/squid-2.5.STABLE14.tar.gz<br />
tar -zxvf squid-2.5.STABLE14.tar.gz<br />
cd squid-2.5.STABLE14<br />
./configure &#8211;prefix=/usr/local/squid &#8211;disable-ident-lookups<br />
make all<br />
make install</p>
<p><strong>Add the user squid, create the cache directory and then set permissions.</strong></p>
<p>useradd -d /usr/local/squid/cache/ -r -s /dev/null squid >/dev/null 2>&#038;1<br />
mkdir /usr/local/squid/cache<br />
chown -R squid:squid /usr/local/squid/cache<br />
chown -R squid:squid /usr/local/squid<br />
chmod -R 755 /usr/local/squid/cache</p>
<p><strong>Now generate the cache files</strong></p>
<p>sudo -u squid /usr/local/squid/sbin/squid -z</p>
<p>Now lets change the cache effective user and group to squid.</p>
<p>perl -pi -e &#8216;s/# cache_effective_user nobody/cache_effective_user squid\ncache_effective_group squid/g&#8217; /usr/local/squid/etc/squid.conf</p>
<p>/usr/local/squid/sbin/squid  </p>
<p>You are done installing &#8230;</p>
<p><strong>Configuration </strong></p>
<p>Open the squid configuration,</p>
<p>pico /usr/local/squid/etc/squid.conf</p>
<p>specific your http_port, by default this is 3128, we will use 8080.</p>
<p>Find</p>
<p># http_port 3128</p>
<p>and replace it with</p>
<p>http_port 8080</p>
<p>Now lets configure who can access your proxy, remember to only allow access to YOUR ip.</p>
<p>Find</p>
<p>http_access deny CONNECT !SSL_ports</p>
<p>Add below</p>
<p>acl myip 127.0.0.1<br />
acl all src 0.0.0.0/0.0.0.0<br />
acl connectmethod method CONNECT<br />
http_access deny connectmethod<br />
http_access deny all<br />
http_access allow myip</p>
<p>Remember to replace 127.0.0.1 with the ip you want to allow access.</p>
<p>Find</p>
<p># By default, all headers are allowed (no anonymizing is<br />
# performed).<br />
#<br />
#Default:<br />
# none</p>
<p>Add below</p>
<p>header_access From deny all<br />
header_access Referer deny all<br />
header_access Server deny all<br />
header_access User-Agent deny all<br />
header_access WWW-Authenticate deny all<br />
header_access Link deny all<br />
header_access via deny all</p>
<p>Find</p>
<p># forwarded_for on</p>
<p>Replace with</p>
<p>forwarded_for off</p>
<p>Save and exit squid.conf, then restart squid.</p>
<p>kill -9 $(ps aux | grep squid | awk &#8216;{print $2}&#8217;)<br />
/usr/local/squid/sbin/squid</p>
<p>You have now configured an anoymous proxy with squid.</p>
<p>Thanks to HOstgeekz <img src='http://www.thinksupport.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/installing-and-configure-squid-proxy-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful MYSQL tips ..</title>
		<link>http://www.thinksupport.net/blog/useful-mysql-tips.html</link>
		<comments>http://www.thinksupport.net/blog/useful-mysql-tips.html#comments</comments>
		<pubDate>Fri, 27 Apr 2007 07:53:01 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Direct Admin]]></category>
		<category><![CDATA[Ensim]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP / Mysql]]></category>
		<category><![CDATA[WHM/cPanel]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=146</guid>
		<description><![CDATA[Check this &#8212; http://souptonuts.sourceforge.net/readme_mysql.htm]]></description>
			<content:encoded><![CDATA[<p>Check this &#8212; </p>
<p><a href="http://souptonuts.sourceforge.net/readme_mysql.htm">http://souptonuts.sourceforge.net/readme_mysql.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/useful-mysql-tips.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command to know the performance of your HardDisk.</title>
		<link>http://www.thinksupport.net/blog/command-to-know-the-performance-of-your-harddisk.html</link>
		<comments>http://www.thinksupport.net/blog/command-to-know-the-performance-of-your-harddisk.html#comments</comments>
		<pubDate>Fri, 27 Apr 2007 07:41:44 +0000</pubDate>
		<dc:creator>Sachin</dc:creator>
				<category><![CDATA[Direct Admin]]></category>
		<category><![CDATA[Ensim]]></category>
		<category><![CDATA[HSphere]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[WHM/cPanel]]></category>

		<guid isPermaLink="false">http://thinksupport.net/blog/?p=145</guid>
		<description><![CDATA[Here you go &#8211; hdparm -Tt /dev/sda Note: The command &#8220;hdparm&#8221; isn&#8217;t always compatible with hardware raid (3ware SATA or Dell SCSI PERC 320/DC adapters)]]></description>
			<content:encoded><![CDATA[<p>Here you go &#8211;</p>
<p>hdparm -Tt /dev/sda  </p>
<p>Note: The command &#8220;hdparm&#8221; isn&#8217;t always compatible with hardware raid (3ware SATA or Dell SCSI PERC 320/DC adapters) </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinksupport.net/blog/command-to-know-the-performance-of-your-harddisk.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

