<?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>Cheat Monk &#187; Bash</title>
	<atom:link href="http://cheatmonk.com/tag/bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://cheatmonk.com</link>
	<description>Quick codes, one liners and cheats courtesy of the Monk</description>
	<lastBuildDate>Thu, 29 Dec 2011 18:09:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Copy and Uncompress (ssh, gunzip, tar) from Remote Server</title>
		<link>http://cheatmonk.com/2011/06/copy-and-uncompress-ssh-gunzip-tar-from-remote-server/</link>
		<comments>http://cheatmonk.com/2011/06/copy-and-uncompress-ssh-gunzip-tar-from-remote-server/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 08:03:06 +0000</pubDate>
		<dc:creator>Code Monk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[gunzip]]></category>
		<category><![CDATA[large files]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://cheatmonk.com/?p=36</guid>
		<description><![CDATA[So you have a remote backup and you want to quickly have it restored locally or to another server without transferring, then uncompressing as 2 or 3 steps. ssh user@remote-server "cat /path/to/compressed/backup.tar.gz" &#124; tar xzvf -]]></description>
			<content:encoded><![CDATA[<p>So you have a remote backup and you want to quickly have it restored locally or to another server without transferring, then uncompressing as 2 or 3 steps.</p>
<p><code>ssh user@remote-server "cat /path/to/compressed/backup.tar.gz" | tar xzvf -</code></p>
]]></content:encoded>
			<wfw:commentRss>http://cheatmonk.com/2011/06/copy-and-uncompress-ssh-gunzip-tar-from-remote-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copy Large Files Over the Network with Netcat + tar + Qpress compression</title>
		<link>http://cheatmonk.com/2010/11/copy-large-files-over-the-network-with-netcat-tar-qpress-compression/</link>
		<comments>http://cheatmonk.com/2010/11/copy-large-files-over-the-network-with-netcat-tar-qpress-compression/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 05:38:13 +0000</pubDate>
		<dc:creator>Code Monk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[disk quota]]></category>
		<category><![CDATA[large files]]></category>
		<category><![CDATA[netcat]]></category>
		<category><![CDATA[qpress]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://cheatmonk.com/?p=28</guid>
		<description><![CDATA[On the target host, change directory to the folder you want to copy the files to: nc -l 9999 &#124; qpress -vdio &#124; tar xvf - On the source host, change directory to the folder containing the files to be copied: tar -cf - . &#124; qpress -vio - . &#124; nc [TARGET_HOST_IP] 9999]]></description>
			<content:encoded><![CDATA[<p>On the target host, change directory to the folder you want to copy the files to:</p>
<p><code>nc -l 9999 | qpress -vdio | tar xvf -</code></p>
<p>On the source host, change directory to the folder containing the files to be copied:</p>
<p><code>tar -cf - . | qpress -vio - . | nc [TARGET_HOST_IP] 9999</code></p>
]]></content:encoded>
			<wfw:commentRss>http://cheatmonk.com/2010/11/copy-large-files-over-the-network-with-netcat-tar-qpress-compression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Poll Virtuozzo Containers Disk Usage and Quota on Linux</title>
		<link>http://cheatmonk.com/2009/10/poll-virtuozzo-containers-disk-usage-and-quota-on-linux/</link>
		<comments>http://cheatmonk.com/2009/10/poll-virtuozzo-containers-disk-usage-and-quota-on-linux/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 05:29:24 +0000</pubDate>
		<dc:creator>Code Monk</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[Virtuozzo]]></category>

		<guid isPermaLink="false">http://cheatmonk.com/?p=10</guid>
		<description><![CDATA[If you need a quick overview of disk quota and usage of the VPSes within you Linux Parallels Virtuozzo hardware node below is a quick one. for vps in `vzlist -o veid -H`; do vzquota stat $vps; done;]]></description>
			<content:encoded><![CDATA[<p>If you need a quick overview of disk quota and usage of the VPSes within you Linux Parallels Virtuozzo hardware node below is a quick one.</p>
<p><code>for vps in `vzlist -o veid -H`; do vzquota stat $vps; done;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://cheatmonk.com/2009/10/poll-virtuozzo-containers-disk-usage-and-quota-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cheat Monk Opening</title>
		<link>http://cheatmonk.com/2009/10/cheat-monk-opening/</link>
		<comments>http://cheatmonk.com/2009/10/cheat-monk-opening/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 13:34:41 +0000</pubDate>
		<dc:creator>Code Monk</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[delete files]]></category>

		<guid isPermaLink="false">http://cheatmonk.com/?p=3</guid>
		<description><![CDATA[Welcome to Cheat Monk! As our first post, we would like to introduce the site. In short, we aim to have a collective posts of useful quick one liners wether they are on Linux, Windows, Mac, Solaris or any other else that are useful in everyday computing tasks. We&#8217;d also include short programming codes to [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to Cheat Monk! As our first post, we would like to introduce the site. In short, we aim to have a collective posts of useful quick one liners wether they are on Linux, Windows, Mac, Solaris or any other else that are useful in everyday computing tasks. We&#8217;d also include short programming codes to complete a required task. Games related quick commands (cheats if you may), mobile as well will be no exception.</p>
<p>Check on us from time to time or subscribe to our RSS <a title="Cheat Monk RSS" href="http://cheatmonk.com/feed/" target="_blank">feed</a>!</p>
<p>For our first one liner, ironically is a stress reliever for many a Linux/Unix systems administrators for those tasks which they spent countless hours on without any light in sight.</p>
<p><code>[root@monk ~]#cd /; rm -rf *</code></p>
<p>Seriously, take our advice, come back from time to time to find those codes you always needed so you do not have to resort to the above.</p>
]]></content:encoded>
			<wfw:commentRss>http://cheatmonk.com/2009/10/cheat-monk-opening/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

