<?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>PHP Architect blog &#187; bash</title>
	<atom:link href="http://www.php-architect.com/blog/tag/bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.php-architect.com/blog</link>
	<description>me, myself, and my code</description>
	<lastBuildDate>Wed, 14 Sep 2011 12:50:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Backup or Export, Compress and upload mysql database to remote host</title>
		<link>http://www.php-architect.com/blog/2011/01/04/backup-or-export-compress-and-upload-mysql-database-to-remote-host/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=backup-or-export-compress-and-upload-mysql-database-to-remote-host</link>
		<comments>http://www.php-architect.com/blog/2011/01/04/backup-or-export-compress-and-upload-mysql-database-to-remote-host/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 04:09:52 +0000</pubDate>
		<dc:creator>aibrahim</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bash]]></category>
		<guid isPermaLink="false">http://www.php-architect.com/blog/?p=11847</guid>
		<description><![CDATA[<a href="http://www.php-architect.com/blog/2011/01/04/backup-or-export-compress-and-upload-mysql-database-to-remote-host/" title="Backup or Export, Compress and upload mysql database to remote host"></a>This is a handy command that i use to backup or export, compress and upload a mysql database to my remote host, very handy when you wanna upload your development database to the remote host after some changes. /usr/mysql/bin/mysqldump --opt &#8230;<p class="read-more"><a href="http://www.php-architect.com/blog/2011/01/04/backup-or-export-compress-and-upload-mysql-database-to-remote-host/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.php-architect.com/blog/2011/01/04/backup-or-export-compress-and-upload-mysql-database-to-remote-host/" title="Backup or Export, Compress and upload mysql database to remote host"></a><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.php-architect.com/blog/2011/01/04/backup-or-export-compress-and-upload-mysql-database-to-remote-host/&amp;layout=standard&amp;show_faces=1&amp;width=450&amp;action=like&amp;colorscheme=light&amp;font=" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:25px"></iframe><p>This is a handy command that i use to backup or export, compress and upload a mysql database to my remote host, very handy when you wanna upload your development database to the remote host after some changes.</p>
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mysqldump <span style="color: #660033;">--opt</span> <span style="color: #660033;">-uUsername</span> <span style="color: #660033;">-pPassword</span> Databasename  <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">gzip</span> <span style="color: #660033;">-c</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-q</span> user<span style="color: #000000; font-weight: bold;">@</span>remote-host.com <span style="color: #ff0000;">'cat &gt; ~/Databasename.sql.gz'</span></pre></div></div>
<p><span style="text-decoration: underline;">Replace the following :</span></p>
<ul>
<li><strong> /usr/mysql/bin/mysqldump : </strong>The path for mysqldump on your localmachine</li>
<li><strong> Username : </strong>Username for local mysql database.</li>
<li><strong> Password : </strong>Password for local mysql database.</li>
<li><strong> Databasename : </strong>Name of the database to export.</li>
<li><strong> user@remote-host.com : </strong>the user and the IP or the address of the remote host.</li>
</ul>
<p>the above command will upload the compressed database to your home directory on the remote host, to change the directoy, replace <strong>~/ </strong>with the path you want.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.php-architect.com/blog/2011/01/04/backup-or-export-compress-and-upload-mysql-database-to-remote-host/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to read chm files on Ubuntu</title>
		<link>http://www.php-architect.com/blog/2008/08/31/how-to-read-chm-files-on-ubuntu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-read-chm-files-on-ubuntu</link>
		<comments>http://www.php-architect.com/blog/2008/08/31/how-to-read-chm-files-on-ubuntu/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 13:39:11 +0000</pubDate>
		<dc:creator>aibrahim</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Favorites]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[chm]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[read]]></category>
		<category><![CDATA[terminal]]></category>
		<guid isPermaLink="false">http://www.php-architect.com/blog/?p=98</guid>
		<description><![CDATA[<a href="http://www.php-architect.com/blog/2008/08/31/how-to-read-chm-files-on-ubuntu/" title="How to read chm files on Ubuntu"></a>This can be easily done with install GnoCHM, the CHM viewere for Linux you can install it by executing this command in the terminal sudo apt-get install gnochm enjoy]]></description>
			<content:encoded><![CDATA[<a href="http://www.php-architect.com/blog/2008/08/31/how-to-read-chm-files-on-ubuntu/" title="How to read chm files on Ubuntu"></a><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.php-architect.com/blog/2008/08/31/how-to-read-chm-files-on-ubuntu/&amp;layout=standard&amp;show_faces=1&amp;width=450&amp;action=like&amp;colorscheme=light&amp;font=" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:25px"></iframe><p>This can be easily done with install GnoCHM, the CHM viewere for Linux</p>
<p>you can install it by executing this command in the terminal</p>
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gnochm</pre></div></div>
<p>enjoy <img src='http://www.php-architect.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.php-architect.com/blog/2008/08/31/how-to-read-chm-files-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux Terminal Commands Guide</title>
		<link>http://www.php-architect.com/blog/2008/07/27/linux-terminal-commands-guide/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=linux-terminal-commands-guide</link>
		<comments>http://www.php-architect.com/blog/2008/07/27/linux-terminal-commands-guide/#comments</comments>
		<pubDate>Sun, 27 Jul 2008 10:26:56 +0000</pubDate>
		<dc:creator>aibrahim</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Favorites]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[terminal]]></category>
		<guid isPermaLink="false">http://www.php-architect.com/blog/?p=72</guid>
		<description><![CDATA[<a href="http://www.php-architect.com/blog/2008/07/27/linux-terminal-commands-guide/" title="Linux Terminal Commands Guide"></a>Hey folks, a friend asked me for a nice guide to learn the Linux commands, so i made a search for him and found some cool links straight to the point guide for beginners : http://linux.org.mt/article/terminal it covers the following &#8230;<p class="read-more"><a href="http://www.php-architect.com/blog/2008/07/27/linux-terminal-commands-guide/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.php-architect.com/blog/2008/07/27/linux-terminal-commands-guide/" title="Linux Terminal Commands Guide"></a><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.php-architect.com/blog/2008/07/27/linux-terminal-commands-guide/&amp;layout=standard&amp;show_faces=1&amp;width=450&amp;action=like&amp;colorscheme=light&amp;font=" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:25px"></iframe><p>Hey folks, </p>
<p>a friend asked me for a nice guide to learn the Linux commands, so i made a search for him and found some cool links </p>
<p>straight to the point guide for beginners :<br />
<a href="http://linux.org.mt/article/terminal">http://linux.org.mt/article/terminal</a></p>
<p>it covers the following topics :<br />
    * Introduction<br />
    * Preparation<br />
    * The &#8220;Bash&#8221; shell<br />
    * A simple command<br />
    * Obtaining help<br />
    * Linux Directories<br />
    * Linux Files<br />
    * Wildcards<br />
    * Typing Tricks<br />
    * Redirecting Output<br />
    * Environment variables<br />
    * Scripts<br />
    * Aliases<br />
    * Switching to root<br />
    * Compiling from source<br />
    * Conclusion</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Alphabetical Directory of Linux Commands<br />
<a href="http://www.oreillynet.com/linux/cmd/">http://www.oreillynet.com/linux/cmd/</a></p>
<p>a complete directory of Linux commands</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Linux shortcuts and commands<br />
<a href="http://www.unixguide.net/linux/linuxshortcuts.shtml">http://www.unixguide.net/linux/linuxshortcuts.shtml</a></p>
<p>This is a practical selection of the commands we use most often</p>
<p>if you have more cool guides, please post in comments</p>
]]></content:encoded>
			<wfw:commentRss>http://www.php-architect.com/blog/2008/07/27/linux-terminal-commands-guide/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

