<?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>Quick Tweaks &#187; fun</title>
	<atom:link href="http://www.quicktweaks.com/tag/fun/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.quicktweaks.com</link>
	<description>Quick Tweaks For Your System</description>
	<lastBuildDate>Fri, 27 Nov 2009 22:29:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>10 Linux commands for fun</title>
		<link>http://www.quicktweaks.com/2009/11/26/10-linux-commands-for-fun/</link>
		<comments>http://www.quicktweaks.com/2009/11/26/10-linux-commands-for-fun/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 22:09:46 +0000</pubDate>
		<dc:creator>ashokgelal</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://www.quicktweaks.com/?p=309</guid>
		<description><![CDATA[Here are few Linux commands you can play with for fun. Some of these might be helpful in certain situations but I've compiled them here so that you can play with it, appreciate the power of Linux commands, or just show off your Linux skills to your friends.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Here are few Linux commands you can play with for fun. Some of these might be helpful in certain situations but I&#8217;ve compiled them here so that you can play with it, appreciate the power of Linux commands, or just show off your Linux skills to your friends.</p>
<p><span id="more-309"></span>Let me warn you first &#8211; these commands are not for newbies, those who just started using Linux or for those who want to start with Linux terminal.</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<h3><span style="color: #ff6600;">#1 Browse and display images in Terminal</span></h3>
<p>Browse and display images in Terminal? Yes! To browse the images in the current directory:<br />
<code>$ sudo zgv</code><br />
To browse the images in /home/username/pictures directory:<br />
<code>$ sudo zgv <em>/home/username/pictures</em></code></p>
<p>Note: If you get any mouse not initialized message, just unplug your mouse, type <em>zgv </em>and plug your mouse back</p>
<h3><span style="color: #ff6600;">#2 Burn a CD/DVD/BluRay Disk<br />
</span></h3>
<p>Llet’s add a small twist; make an ISO image of a large folder and burn them to a CD/DVD.<br />
Crate an ISO image (myISOFile) out of a folder (or filename)<br />
<code>$ mkisofs –r –o <em>myISOFile.ISO folderOrFilename</em></code><br />
Now burn the above ISO image to a CD/DVD<br />
<code>$ cdrecord --device=<em>cdwriter-device</em> -tao -eject <em>myISOFile.ISO</em></code></p>
<h3><span style="color: #ff6600;">#3 Create ASCII text graphics</span></h3>
<p>What about creating some ASCII graphics such as the following? You can paste it in your email as a signature to impress your friends <img src='http://www.quicktweaks.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<pre> _     _
| |   (_)_ __  _   ___  __
| |   | | '_ \| | | \ \/ /
| |___| | | | | |_| |&gt;  &lt;
|_____|_|_| |_|\__,_/_/\_\</pre>
<p><code>$ figlet <em>Linux</em></code><br />
This is displayed with the default font, to use other fonts, give a font name after switch f:<br />
<code>$ figlet <em>quick tweaks</em> –f <em>script</em></code></p>
<pre><strong>                      _                            _
             o       | |                          | |
 __,             __  | |    _|_          _   __,  | |   ,
/  |  |   |  |  /    |/_)    |  |  |  |_|/  /  |  |/_) / \_
\_/|_/ \_/|_/|_/\___/| \_/   |_/ \/ \/  |__/\_/|_/| \_/ \/
   |\
   |/    

</strong><code>$ figlet <em>Quick Tweaks</em> –f <em>script</em></code></pre>
<pre>  _ \       _)      |    __ __|                   |
 |   | |   | |  __| |  /    |\ \  \   / _ \  _` | |  /  __|
 |   | |   | | (      &lt;     | \ \  \ /  __/ (   |   &lt; \__ \
 \__\_\\__,_|_|\___|_|\_\  _|  \_/\_/ \___|\__,_|_|\_\____/</pre>
<p>The fonts for <em>figlet </em>are installed in <strong>/usr/share/figlet</strong> directory</p>
<h3><span style="color: #ff6600;">#4 Run remote applications in full GUI mode<br />
</span></h3>
<p>As a Computer Science student, I often need access my lab computers (which have Fedora installed) through SSH. After I submit my assignments, esp. those GUI based programming assignments, I wanted to check if everything is fine. Accessing remote computer is easy:<br />
<code>$ ssh <em>username@example.com</em></code><br />
If you want to run remote applications such as OpenOffice or Eclipse, just uncomment <strong><code>ForwardX11 yes</code></strong> in <strong>/etc/ssh/ssh_config</strong> file. After that if you type, eclipse, for an example, the remote application will run in full GUI mode.</p>
<h3><span style="color: #ff6600;">#5 Split a large file into several pieces (for easy copy)<br />
</span></h3>
<p>If you have a large file of about 1 GB size and have two CDs to spare (or two thumb drives of 512 MB each), how can you carry that 1GB file?<br />
<code>$ split –b<em>500m</em> <em>myBigFile</em> <em>mySmallFIles</em>.</code><br />
To join the smaller files to get the big files back:<br />
<code>$ cat <em>mySmallFiles</em>.* &gt; <em>myBigFile</em></code></p>
<h3><span style="color: #ff6600;">#6 Take screenshot of a rectangular area and save it as png file</span></h3>
<div id="attachment_51" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.quicktweaks.com/wp-content/uploads/2008/10/myscreenshot.png"><img class="size-medium wp-image-51" title="myscreenshot" src="http://www.quicktweaks.com/wp-content/uploads/2008/10/myscreenshot-300x144.png" alt="My Screenshot" width="300" height="144" /></a><p class="wp-caption-text">Screenshot taken with import command</p></div>
<p><code>$ import –frame <em>myScreenShot.png</em></code></p>
<p>After this command, the mouse pointer changes to a set of cross-hairs; left-click and drag the mouse across an area of the screen and release the mouse to capture the selected area.</p>
<h3><span style="color: #ff6600;">#7 Resize an image, put a border around it, and add a comment</span></h3>
<p><code>$mogrify -geometry <em>300x200</em> -border <em>8x8</em> -comment “<em>Windows Sucks</em>” <em>myScreenShot.png</em></code></p>
<h3><span style="color: #ff6600;">#8 Quickly converting a .wav file to a .mp3 file<br />
</span></h3>
<p><code>$ lame <em>myMusicFile.wav myMusicFile.mp3</em></code></p>
<h3><span style="color: #ff6600;">#9 Display a nicely formatted calendar (or doing some quick maths?)<br />
</span></h3>
<p><code>$ cal <em>1972</em></code></p>
<p>Get the factorial of 10</p>
<p><code>$ calc <em>10!</em></code></p>
<h3><span style="color: #ff6600;">#10 Mirror a website to your computer for offline browsing</span></h3>
<p><code>$ wget -mk <em>http://example.com</em></code></p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0816309066023726";
google_ad_slot = "7783831711";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.quicktweaks.com/2009/11/26/10-linux-commands-for-fun/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.764 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-01-08 14:31:15 -->
<!-- Compression = gzip -->