<?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>Hack the Day &#187; linux</title>
	<atom:link href="http://www.hacktheday.com/topic/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hacktheday.com</link>
	<description>Productivity, life and computer tips. Tricks for a better day.</description>
	<lastBuildDate>Sun, 25 Jul 2010 18:21:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Beginner’s guide to Apple Terminal, part 2</title>
		<link>http://www.hacktheday.com/beginner%e2%80%99s-guide-to-apple-terminal-part-2/</link>
		<comments>http://www.hacktheday.com/beginner%e2%80%99s-guide-to-apple-terminal-part-2/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 13:35:51 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.hacktheday.com/beginner%e2%80%99s-guide-to-apple-terminal-part-2/</guid>
		<description><![CDATA[
In the previous article in the series you learned what Terminal.app is, what it does, how to start it and a couple of basic tasks to do with it(move around folders &#8211; the cd command, look what&#8217;s inside folders &#8211; the ls command, opening up files &#8211; the open command and how to remove files [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://images.apple.com/macosx/features/unix/images/indexterminal20050412.gif" alt="Apple Terminal" class="alignright" /><br />
In the <a href="http://www.hacktheday.com/beginners-guide-to-apple-terminal-part-1/">previous article in the series</a> you learned what Terminal.app is, what it does, how to start it and a couple of basic tasks to do with it(move around folders &#8211; the cd command, look what&#8217;s inside folders &#8211; the ls command, opening up files &#8211; the open command and how to remove files &#8211; the rm command). Today you&#8217;ll learn how to remove entire folders, how to copy files or folders, how to move them somewhere else, how to create aliases to files or folders and even a bit more.</p>
<p><span id="more-16"></span></p>
<p><strong>How to delete an entire folder</strong><br />
You already know how to remove a file. Just type <em>rm</em> followed by the name of the file and you&#8217;re set. To remove an entire folder, you&#8217;d have to type <em>rm -rf</em> followed by the name of the folder. What this actually does is to remove all the contents of the folder and eventually the folder as well. You should use this carefully, &#8217;cause unlike removing a folder from the Finder, this command doesn&#8217;t move anything into Trash. You can&#8217;t recover things deleted using rm. The good part, though, is that, whenever you are stuck with some file or folder that simply won&#8217;t let itself be erased in the classic ways, you can try removing it from the Terminal command line.</p>
<p><strong>How to rename a file/folder in Apple Terminal</strong><br />
The command to rename a file or folder starts to show its strength. All you have to do is type &#8220;mv&#8221; followed by the name of the file/folder to rename and the new name you want to call it.<br />
<code>mycomputer:~ Alex$ mv Research/ Research1 </code><br />
Typing this (using the shortcut with the &#8220;Tab&#8221; key mentioned last time) is actually faster for experienced users than opening up Finder, browsing around to find the folder/file in question, Ctrl+Clicking it, selecting Rename and eventually typing the new name.</p>
<p><strong>How to copy a file/folder from Apple Terminal</strong><br />
You already guess the answer to this one, as it combines what you learned in the previous tips: the command for it is &#8220;cp&#8221; (as in CoPy), it takes two parameters at the minimum &#8211; the name of the file to be copied, and the name of the new file. However, if you want to copy a folder, you&#8217;ll have to add the extra parameter <em>&#8220;-rf&#8221;</em> right after the &#8220;cp&#8221; command.</p>
<p><strong>The IP address</strong><br />
I promised last time that I would teach you how to check out your IP address. That&#8217;s the address your computer has on the internet/local network, and sometimes you need to know it. One way to do it would be to open up System Preferences, then Network, then Configure, then TCP/IP. One other way would be to open up the System Profile utility (available in Applications/Utilities or by clicking on the apple icon in the top menu bar, chosing &#8220;About this Mac&#8221; and &#8220;More Info..&#8221;) and look into the Network menu for the IPv4 Addresses values.<br />
The Terminal way to do this is much simpler: just type <strong><em>ifconfig</em></strong> in the command line. You&#8217;ll be presented with a long list with information on all the network devices present in your computer. The one of interest for now is <strong>en1</strong> (might be different in your case), namely the one with information on the <strong>inet</strong> address. The value of <strong>inet</strong> is the IP address of your computer.</p>
<p><strong>Aliases</strong><br />
Aliases are shortcuts to existing files or folders on your system. You can create them by right-clicking(Ctrl+Click) in the Finder on an existing file/folder, selecting the option <strong>&#8220;Make Alias&#8221;</strong>. This creates a shortcut that you can rename or move around without messing with the original.<br />
Creating aliases in Terminal is extremely easy &#8211; just type in ln -s followed by the name of the file/folder you want to create the shortcut to, and by the name you want to give to the shortcut.</p>
<pre><code>mycomputer:~ Alex$ ln -s Research/ Researchalias</code></pre>
<p><strong>What about stubborn commands?</strong><br />
Let&#8217;s say you just want to remove or rename a system file or folder. If you don&#8217;t know what you&#8217;re doing, you probably shouldn&#8217;t. Still, you might at times need to do some stuff that your system won&#8217;t let you(it would say &#8220;Permission denied&#8221;). The solution is the <strong>sudo</strong> command &#8211; you prefix the command you want to run by the <strong>sudo </strong>word. When you press enter, you&#8217;ll be asked to type the Administrator password. On most computers this password is absent, so pressing the Enter key is enough. Sudo is a powerful command that shouldn&#8217;t be taken lightly, or you risk messing up your system.</p>
<p>I think you already feel the scary power hidden beneath the Terminal application. Off course, we&#8217;ve only scratched the surface of a vast subject. Trying to initiate you further might be a bit out of our goal. That&#8217;s why I&#8217;m going to stop here and point you to a couple of resources around the web:</p>
<ul>
<li><a href="http://linuxcommand.org/learning_the_shell.php">Linux &#8211; learning the shell</a></li>
<li><a href="http://osxdaily.com/2006/11/22/ten-os-x-command-line-utilities-you-might-not-know-about/">Ten OS X Command Line Utilities you might not know about</a></li>
<li><a href="http://www.macworld.com/2006/03/secrets/aprilgeekfactor/index.php">Command-line lifesavers</a></li>
<li><a href="http://www.pixelbeat.org/cmdline.html">Linux command line tips</a></li>
<li><a href="http://lifehacker.com/software/top/mac-tip--force-empty-the-trash-251258.php">Force empty the Trash</a></li>
</ul>
<p>Next week, we&#8217;ll show you how to do the same things from within <a href="http://quicksilver.blacktree.com/">Quicksilver</a> &#8211; a bit less powerful than Terminal, but with a much more beautiful user interface.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hacktheday.com/beginner%e2%80%99s-guide-to-apple-terminal-part-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Power Tools &#8211; introduction to Application Software Launchers</title>
		<link>http://www.hacktheday.com/power-tools-introduction-to-application-software-launchers/</link>
		<comments>http://www.hacktheday.com/power-tools-introduction-to-application-software-launchers/#comments</comments>
		<pubDate>Wed, 30 May 2007 12:33:40 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[links]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[win]]></category>

		<guid isPermaLink="false">http://www.hacktheday.com/power-tools-introduction-to-application-software-launchers/</guid>
		<description><![CDATA[You want to get more productive in your computer usage? In today&#8217;s lesson, we&#8217;re introducing you to a power-user time-saving trick.
First, here&#8217;s the context: I&#8217;ve seen lots of people for whom simple computer taks such as launching Word, Firefox or Outlook take at least half a minute. Most of the time is spent with: minimizing [...]]]></description>
			<content:encoded><![CDATA[<p><em>You want to get more productive in your computer usage? In today&#8217;s lesson, we&#8217;re introducing you to a power-user time-saving trick.</em></p>
<p><strong>First, here&#8217;s the context</strong>: I&#8217;ve seen lots of people for whom simple computer taks such as launching Word, Firefox or Outlook take at least half a minute. Most of the time is spent with: minimizing the opened windows, slowly moving the mouse aiming it towards the Start button, clicking on the Programs Menu in the Start Menu, missing it, finally getting it right, slowly looking for the right application folder &amp; icon, risking to click outside the Programs menu and restart the process, etc. Average users are a bit more productive &#8211; they save frequently-used applications shortcuts on the desktop. But this forces you to minimize everything on it to find the right shortcut and clutters the desktop with shortcuts. On Apple computers the issue is similar for the ordinary user &#8211; sure, there&#8217;s the Dock, but it has a limited shortcut capacity and to find a less frequently used application you&#8217;d still have to open the Finder, open the Applications folder and look, again, for the app you wanted.</p>
<p><strong>So what can you do?</strong><br />
Remember, you want to stop wasting your time moving the mouse all around looking for applications, folders or files. A first step would be to get your desktop organized &#8211; instead of just throwing stuff on it, you create folders for the most important tasks and start placing things right where they belong. For more info on how I did this, take a look at my article &#8211; <a href="http://www.hacktheday.com/turn-your-desktop-into-a-productivity-tool/">Turn your Desktop into a Productivity tool</a>. But the power user trick is to use the right tools for the job, and this can only happen once you start using your keyboard more.</p>
<p><strong>What are Application Launchers?</strong><br />
Application Launcher is a fancy term for a simple tool &#8211; a piece of software that stays in the background and, when you type a given key combination, gets up and helps you find the right application, file or action you want to execute. Instead of moving your mouse around, aiming and clicking at things, you just type a shortcut (usually Ctrl+Space), start typing the name of the program you want to execute and hit Enter. Simple and fast, and takes a tenth of the time you&#8217;d have needed to search the shortcut with your mouse.</p>
<p>Neat trick, but what&#8217;s the software I should use?<br />
There are, as always, free pieces of software and for-money ones that do the trick. Some of them do more, some do less, but for the simple task of launching apps, the free ones will do:</p>
<p><span id="more-9"></span></p>
<p><strong>Mac OSX:</strong></p>
<ul>
<li><a href="http://www.apple.com/macosx/features/spotlight/">Spotlight</a><br />
<img src="http://images.apple.com/macosx/features/spotlight/images/indextop20050412.jpg" /><br />
Apple&#8217;s OSX comes with a built-in desktop search engine that helps you find (most)anything. It&#8217;s one shortcut away(Cmd + Space) so, if all you want is look for stuff, it&#8217;s a decent already-installed choice. But because if searches on your entire computer and within the document contents, it gets overwhelming if you just want to find Applications to launch. So, although perfect as a general search engine, it&#8217;s not at all the productivity tool we are looking for.</li>
<li><a href="http://quicksilver.blacktree.com/">QuickSilver</a><br />
<img src="http://docs.blacktree.com/lib/exe/fetch.php?w=&amp;h=&amp;cache=cache&amp;media=http%3A%2F%2Fquicksilver.blacktree.com%2Fimages%2Fscreenshots%2FBezel4.s.gif" align="left" /><br />
much can be said about this swiss tool of the Mac power users, a Mac OSX utility that really makes you more efficient at work. You can do most anything on it, from sending email to creating TODO lists to uploading photos to Flickr. But this is overwhelming, and I know plenty of people who refrain from using QuickSilver because of this. All the hype about the capabilities of QuickSilver make me, instead of curious, reticent to use such a powerful tool. So I&#8217;ll just stick to ONE tip for you today &#8211; install it for free and start using it. Just for launching apps, at first. It does a great job at it. It&#8217;s smart and sorts them by most-used basis, so, for instance, if you&#8217;re a frequent Firefox user, a simple Ctrl+Space followed by F and Enter will be enough to launch your favorite browser. Once you get the hang of it and want to do extra things, feel free to experiment with the plugins and other shortcuts it has; and you can read some of the tutorials on <a href="http://www.lifehacker.com/software/quicksilver/">Lifehacker.com</a>.</li>
<li><a href="http://www.petermaurer.de/butler/">Butler</a><br />
<img src="http://www.petermaurer.de/optik/butler.png" /><br />
Butler is similar in many ways to QuickSilver, but some argue that it&#8217;s less scary and has a better <a href="http://www.manytricks.com/butler/guide/english/index.htm">documentation</a>. It&#8217;s free as well, so I&#8217;ll let YOU decide.</li>
</ul>
<p><strong>Linux</strong></p>
<ul>
<li><a href="http://katapult.kde.org/">Katapult</a><br />
<img src="http://katapult.kde.org/files/screenshots/sm2.png" /><br />
If you are a Linux user then you probably are a more power-user than me. Still, you may not have heard of Katapult, a cool QuickSilver&#8217;s Linux clone with plugins, cute design and powerful uses. Once installed you can configure what shortcuts it can react to. Oh, and it works on both KDE and Gnome. Read more about it <a href="http://www.freesoftwaremagazine.com/blogs/katapult">here</a>.</li>
</ul>
<p><strong>Windows:</strong></p>
<ul>
<li><a href="http://desktop.google.com/">Google Desktop Search</a><br />
<a href="http://desktop.google.com/"><img src="http://desktop.google.com/ro/images/logo3.gif" align="left" /></a> Doing for Windows what Spotlight does for Mac, and more &#8211; has widgets, web search, etc. But, just like Spotlight, although it <strong>can</strong> do the job of launching apps, it&#8217;s not the perfect tool for the job, but quite the opposite &#8211; searching a program with Google Desktop Search takes a lot more keystrokes and mouse clicks than looking for the icon shortcut.</li>
<li><a href="http://colibri.leetspeak.org/">Colibri</a><br />
This was my Windows launcher of choice and the one I got addicted to most. However the website seems to be down and I can&#8217;t guarantee you&#8217;ll be able to find it anymore. It&#8217;s free and does a simple thing &#8211; in just a few keystrokes, it starts any program of the Start Menu/Programs list. For a more thorough review, check out this <a href="http://www.lifehacker.com/software/downloads/download-of-the-day-colibri-not-quite-yet-quicksilver-for-windows-152268.php">article</a>.</li>
<li><a href="http://www.launchy.net/">Launchy</a><br />
<img src="http://www.launchy.net/images/screenshot_firefox.jpg" align="left" /> Now that the Colibri website is unnacessible, the popularity vote goes to Launchy, a cool launcher app that, just like QuickSilver, has plugins and a strong community. Just like for Colibri, I bet that once you get used to it, you&#8217;ll never want to go back to the slow mouse.</li>
<li>If the Windows apps I listed weren&#8217;t enough, you can find a larger list on <a href="http://www.lifehack.org/articles/productivity/10-windows-alternatives-to-quicksilver.html">lifehack.org</a> :  besides Colibri or Launchy, the list includes <a href="http://www.candylabs.com/approcket/">AppRocket</a> , <a href="http://www.activewords.com/default.html">ActiveWords</a> , <a href="http://www.dqsd.net/">Dave’s Quick Search Bar</a>, <a href="http://www.donationcoder.com/Software/Mouser/findrun/index.html">Find and Run Robot</a>, <a href="http://www.bayden.com/SlickRun/">Slickrun</a> , <a href="http://www.planetharrington.com/products/smartstartmenu/">SmartStartMenu</a>, <a href="http://www.slimcode.com/slimKEYS/">slimKEYS</a>. Some of them cost, some of them are ugly, but you can still take a look and see if anything tickles your fancy&#8230;</li>
</ul>
<p><strong>The conclusion? </strong>A simple one: you have no more excuses to just drag that mouse around like a cannonball. You can now start programs faster, find documents easier and generally become a better computer user. All it takes is a bit of will power. But we&#8217;ll talk about this some other time&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hacktheday.com/power-tools-introduction-to-application-software-launchers/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
