<?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>Mohsin Sumar &#187; SSH</title>
	<atom:link href="http://www.mohsinsumar.com/category/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mohsinsumar.com</link>
	<description>Zend Certified Engineer, PHP Professional, Designer &#38; Web Developer</description>
	<lastBuildDate>Sun, 13 Nov 2011 19:35:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How do I extract a tar file?</title>
		<link>http://www.mohsinsumar.com/ssh/how-do-i-extract-a-tar-file/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-extract-a-tar-file</link>
		<comments>http://www.mohsinsumar.com/ssh/how-do-i-extract-a-tar-file/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 21:31:47 +0000</pubDate>
		<dc:creator>Mohsin Sumar</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[extract tar]]></category>

		<guid isPermaLink="false">http://www.mohsinsumar.com/?p=79</guid>
		<description><![CDATA[Using the following command in SSH, you will be able to extract files from your tar file. tar -xf file.tar]]></description>
			<content:encoded><![CDATA[<p>Using the following command in SSH, you will be able to extract files from your tar file.</p>
<pre><span style="color: #800000;">tar -xf file.tar</span><tt> </tt></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.mohsinsumar.com/ssh/how-do-i-extract-a-tar-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to tar a file using SSH?</title>
		<link>http://www.mohsinsumar.com/ssh/how-to-tar-a-file-using-ssh/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-tar-a-file-using-ssh</link>
		<comments>http://www.mohsinsumar.com/ssh/how-to-tar-a-file-using-ssh/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 17:23:13 +0000</pubDate>
		<dc:creator>Mohsin Sumar</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[compress tar]]></category>
		<category><![CDATA[create compressed tar]]></category>
		<category><![CDATA[tar file]]></category>

		<guid isPermaLink="false">http://www.mohsinsumar.com/?p=82</guid>
		<description><![CDATA[Use the following command if you want to create a tar and compress a file (or folder). tar -czf /path/to/save/file.tar folder_or_file_name The options used in the above command are outlined below for your understanding. -c = create -z = compress a file -f = use the file mentioned instead of tape drive]]></description>
			<content:encoded><![CDATA[<p>Use the following command if you want to create a tar and compress a file (or folder).</p>
<pre><span style="color: #800000;">tar -czf /path/to/save/file.tar folder_or_file_name</span></pre>
<p>The options used in the above command are outlined below for your understanding.</p>
<p>-c = create<br />
-z = compress a file<br />
-f = use the file mentioned instead of tape drive</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mohsinsumar.com/ssh/how-to-tar-a-file-using-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH ls pagewise or limit long output</title>
		<link>http://www.mohsinsumar.com/ssh/ssh-ls-pagewise-output/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ssh-ls-pagewise-output</link>
		<comments>http://www.mohsinsumar.com/ssh/ssh-ls-pagewise-output/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 12:26:31 +0000</pubDate>
		<dc:creator>Mohsin Sumar</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[limit output]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[ls -l]]></category>
		<category><![CDATA[ls | more]]></category>
		<category><![CDATA[pagewise output]]></category>

		<guid isPermaLink="false">http://www.mohsinsumar.com/?p=71</guid>
		<description><![CDATA[If your SSH ls command output is really long, and cannot be viewed on screen - you can use the following command to part of it with a more command to continue down the list. ls [options here] &#124; more Example:- ls -l &#124; more]]></description>
			<content:encoded><![CDATA[<p>If your SSH ls command output is really long, and cannot be viewed on screen - you can use the following command to part of it with a more command to continue down the list.</p>
<pre><span style="color: #800000;">ls [options here] | more</span></pre>
<p>Example:-</p>
<pre><span style="color: #800000;">ls -l | more</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.mohsinsumar.com/ssh/ssh-ls-pagewise-output/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Commands to find files on Linux Server</title>
		<link>http://www.mohsinsumar.com/ssh/ssh-commands-to-find-files-on-linux-server/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ssh-commands-to-find-files-on-linux-server</link>
		<comments>http://www.mohsinsumar.com/ssh/ssh-commands-to-find-files-on-linux-server/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 04:49:26 +0000</pubDate>
		<dc:creator>Mohsin Sumar</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[email search results using ssh]]></category>
		<category><![CDATA[file search]]></category>
		<category><![CDATA[PuTTY]]></category>
		<category><![CDATA[save ssh search results to file]]></category>
		<category><![CDATA[search using ssh]]></category>

		<guid isPermaLink="false">http://www.mohsinsumar.com/?p=52</guid>
		<description><![CDATA[A couple of useful SSH commands to find files on your linux server.]]></description>
			<content:encoded><![CDATA[<p>If you have a dedicated server or a VPS - or any Linux machine with SSH access, the following commands may be useful to you if you are looking to find some files quickly. <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty" target="_blank">PuTTY</a> is a good telnet/SSH client if you don't already have one. Let's get started.</p>
<p>#1: If you are looking for a particular file in /home directory</p>
<pre><span style="color: #800000;">find /home -name filename</span></pre>
<p>#2: If you are looking for files whose name is starting with "filename" in public_html directories only, you can use the following command:-</p>
<pre><span style="color: #800000;">find /home/*/public_html -name filename* </span></pre>
<p>#3: Instead of viewing your search results in command line, you can write it to file by using this:</p>
<pre><span style="color: #800000;">find /home/*/public_html -name filename* &gt; /home/filename_search.txt</span></pre>
<p>#4: Alternatively, you can send it via e-mail directly from server using the command below. Don't forget to replace "Subject Here" with your email subject, and "email.address@domain" with your email ID.</p>
<pre><span style="color: #800000;">find /home/*/public_html -name filename* |mail -s "Subject Here" e-mail.address@domain
</span></pre>
<p>I hope this was useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mohsinsumar.com/ssh/ssh-commands-to-find-files-on-linux-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

