<?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>Person @ CREATIVEDESK &#187; Tips</title>
	<atom:link href="http://hardik.in/tag/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://hardik.in</link>
	<description>Hardik Dalwadi</description>
	<lastBuildDate>Mon, 26 Jul 2010 19:47:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Transfer your download from Firefox to wget</title>
		<link>http://hardik.in/2009/12/27/transfer-your-download-from-firefox-to-wget/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://hardik.in/2009/12/27/transfer-your-download-from-firefox-to-wget/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 08:47:51 +0000</pubDate>
		<dc:creator>Hardik Dalwadi</dc:creator>
				<category><![CDATA[9.10]]></category>
		<category><![CDATA[Canonical]]></category>
		<category><![CDATA[GNU / Linux]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Public]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://hardik.in/?p=306</guid>
		<description><![CDATA[Hi, I have to test  Pre-released Netbook with Ubuntu Netbook Remix (9.04), Now it&#8217;s known as Ubuntu Netbook Edition, that&#8217;s different story. So in hurry i started my download in Firefox. It was fine for me. But suddenly my friend called me to go for 3 Idiots, So i opened www.bookmyshow.com to book the ticket, [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>I have to test  Pre-released Netbook with Ubuntu Netbook Remix (9.04), Now it&#8217;s known as Ubuntu Netbook Edition, that&#8217;s different story. So in hurry i started my download in Firefox. It was fine for me. But suddenly my friend called me to go for 3 Idiots, So i opened www.bookmyshow.com to book the ticket, but found very slow speed due to UNR download.  So i stopped it, booked ticket for 3 idiots, Bingo!!!</p>
<p>But, i have to also resume my old UNR download. Opps!!! When i pressed &#8220;Resume&#8221; button on Firefox Download Manager, It has thrown some error, i was not bothered about it, because it&#8217;s common for me. But this time i was more excited about to solve that problem. Just got the access of /bin/bash in mood of some hacking / shacking <img src='http://hardik.in/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p>Here is  my  code snap shot&#8221;</p>
<blockquote><p>person@CANONICAL-DESK:~/Downloads$ ls -ltr<br />
total 1462988</p>
<p>&#8230;</p>
<p>-rw&#8212;&#8212;- 1 person person         0 2009-12-27 12:38 ubuntu-9.04-netbook-remix-i386.img<br />
-rw&#8212;&#8212;- 1 person person 249075955 2009-12-27 13:05 ubuntu-9.04-netbook-remix-i386.img.part<br />
person@CANONICAL-DESK:~/Downloads$ mv ubuntu-9.04-netbook-remix-i386.img.part ubuntu-9.04-netbook-remix-i386.img<br />
person@CANONICAL-DESK:~/Downloads$ wget http://releases.ubuntu.com/jaunty/ubuntu-9.04-netbook-remix-i386.img -c<br />
&#8211;2009-12-27 13:11:04&#8211;  http://releases.ubuntu.com/jaunty/ubuntu-9.04-netbook-remix-i386.img<br />
Resolving releases.ubuntu.com&#8230; 91.189.88.32, 2001:6b0:e:2018::173, 2001:7b8:3:37::21:1<br />
Connecting to releases.ubuntu.com|91.189.88.32|:80&#8230; connected.<br />
HTTP request sent, awaiting response&#8230; 206 Partial Content<br />
Length: 992837632 (947M), 743761677 (709M) remaining [application/octet-stream]<br />
Saving to: `ubuntu-9.04-netbook-remix-i386.img&#8217;</p>
<p>100%[+++++++++=========&gt;] 99,28,37,632 88.2K/s   in 55m 13s</p>
<p>2009-12-27 14:06:19 (219 KB/s) &#8211; `ubuntu-9.04-netbook-remix-i386.img&#8217; saved [992837632/992837632]</p>
<p>person@CANONICAL-DESK:~/Downloads$ ^C</p></blockquote>
<p>I hope you would  have got my so called &#8220;Hack / Shack&#8221;.  That was so straight, not more then 10 seconds <img src='http://hardik.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Anybody can test it for me, if we restart the machine? Are we able to start the download with same hack? Next lesson for you&#8230;</p>
<p>Now, time for 3 Idiots <img src='http://hardik.in/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>:wq<br />
&#8211;<br />
Hardik Dalwadi</p>
]]></content:encoded>
			<wfw:commentRss>http://hardik.in/2009/12/27/transfer-your-download-from-firefox-to-wget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Tips and Tricks</title>
		<link>http://hardik.in/2009/06/25/ssh-tips-and-tricks/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://hardik.in/2009/06/25/ssh-tips-and-tricks/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 18:47:47 +0000</pubDate>
		<dc:creator>Hardik Dalwadi</dc:creator>
				<category><![CDATA[Archives]]></category>
		<category><![CDATA[GNU / Linux]]></category>
		<category><![CDATA[Time Pass]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://hardik.in/?p=34</guid>
		<description><![CDATA[Many of you know that how to do password less login with SSH. Here is simple way to do that. First of all, please generate authentication keys for ssh by using ssh-keygen command. #ssh-keygen -t dsa Above command will generate authentication keys for ssh in our home directory. For password less login we need &#8216;id_dsa.pub&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p><cite>Many of you know that how to do password less login with SSH.<br />
Here is simple way to do that. First of all, please generate authentication keys for ssh by using <a href="http://www.linuxmanpages.com/man1/ssh-keygen.1.php">ssh-keygen</a> command.</p>
<pre>#ssh-keygen -t dsa</pre>
<p>Above command will generate authentication keys for ssh in our home directory. For password less login we need &#8216;id_dsa.pub&#8217; file. Now we have to transfer this key to our server where we have to enable public key authentication. ssh-copy-id is best friend to copy that key to our server&#8217;s ~.ssh/authorized_keys file.</p>
<pre>#ssh-copy-id -i /root/.ssh/id_dsa.pub person@CREATIVEDESKDESK</pre>
<p>After giving password it will copy those key to our server. That&#8217;s it, you have enable your password less login from your Linux<br />
Laptop/Desktop to your server. Just ssh to our server to see the magic.</p>
<pre>#ssh person@CREATIVEDESKDESK</pre>
<p>If you want to know other way to do this, i will recomend to visit <a href="http://www.biostat.jhsph.edu/bit/nopassword.html<br />
"> [1] </a> befor going further.</p>
<p>[1] http://www.biostat.jhsph.edu/bit/nopassword.html</p>
<p>Now my magic will start from here. For example, one often needs to log in to servers  CREATIVEDESK, red, green, blue.</p>
<p>  1. create a simple script called &#8216;ssh-to-server&#8217; and put it in<br />
     /usr/local/sbin:</p>
<pre>      #! /bin/bash

     ssh `basename $0` $*</pre>
<p>  2. create symlinks with names of the servers:</p>
<pre>      # cd /usr/local/sbin

     # chmod 0755 ssh-to-server

     # ln -s ssh-to-server CREATIVEDESK

     # ln -s ssh-to-server red

     # ln -s ssh-to-server green

     # ln -s ssh-to-server blue</pre>
<p>Then (if your path includes /usr/local/sbin) one can simply ssh to &#8216;CREATIVEDESK&#8217; server by typing &#8216;CREATIVEDESK&#8217; (or run a command on the &#8216;CREATIVEDESK&#8217; server by &#8216;CREATIVEDESK uptime&#8217;). If the servers need to be accessed by fully qualified domain name, symbolic link to the ssh-to-server script to the FQDN.</p>
<p>Examples,</p>
<p>1. Server&#8217;s uptime</p>
<pre>#CREATIVEDESK uptime
 18:34:28 up 62 days, 22:49,  2 users,  load average: 0.12, 0.05, 0.01</pre>
<p>2. Copy sinlge or multiple file with or without archive</p>
<p>Transfering Single file:</p>
<pre># cat foo | CREATIVEDESK cat > foo</pre>
<p>Transfering Multiple files with archive in desire remote location:</p>
<pre>#tar -c -f - bar | CREATIVEDESK "cd /tmp; tar -x -f -"</pre>
<p>You can find lot SSH Tips and Tricks on the internet. I have a good <a href="http://www.dearm.co.uk/cotwssh/">reference </a> for you.</p>
<p>That&#8217;s all for now&#8230;<br />
</cite></p>
]]></content:encoded>
			<wfw:commentRss>http://hardik.in/2009/06/25/ssh-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quickest Way To Create ISO Image in GNU/Linux Using Command Line</title>
		<link>http://hardik.in/2009/06/25/quickest-way-to-create-iso-image-in-gnulinux-using-command-line/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://hardik.in/2009/06/25/quickest-way-to-create-iso-image-in-gnulinux-using-command-line/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 18:34:38 +0000</pubDate>
		<dc:creator>Hardik Dalwadi</dc:creator>
				<category><![CDATA[Archives]]></category>
		<category><![CDATA[GNU / Linux]]></category>
		<category><![CDATA[Time Pass]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[ISO]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://hardik.in/?p=30</guid>
		<description><![CDATA[I am assuming that you have mount CDROM on your GNU/Linux base machine, now you want to create ISO image of that CD. Generally people will do that using a dd command. person@CREATIVEDESK:/$ dd if=/dev/cdrom of=deepOfix.iso You can do same thing by using cat person@CREATIVEDESK:/$ cat /dev/cdrom > deepOfix.iso That&#8217;s all for now&#8230;]]></description>
			<content:encoded><![CDATA[<p><cite>I am assuming that you have mount CDROM on your GNU/Linux base<br />
machine, now you want to create ISO image of that CD. Generally people<br />
will do that using a <a href="http://en.wikipedia.org/wiki/Dd_(Unix)">dd</a> command.<br />
</cite></p>
<pre>
person@CREATIVEDESK:/$ dd if=/dev/cdrom of=deepOfix.iso
</pre>
<p>You can do same thing by using  <a href="http://en.wikipedia.org/wiki/Cat_(Unix)">cat</a></p>
<pre>
person@CREATIVEDESK:/$ cat /dev/cdrom > deepOfix.iso
</pre>
<p>That&#8217;s all for now&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://hardik.in/2009/06/25/quickest-way-to-create-iso-image-in-gnulinux-using-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
