Run the Last Executed Command as Root with sudo !!
![]()
Have you ever tried to run a command line tool to discover that you don’t have the necessary privileges to use it? Or perhaps the command itself actually requires root access to run at all? You’ll typically experience this with a ‘permission denied’ type of error message in terminal. Rather then type out the entire command string again, or hit the up arrow and move the cursor over to precede the command with sudo, you can use an awesome trick which re-runs the last executed command with sudo privileges. Best of all, this great re-run last command as root trick works in MacOS / Mac OS X and Linux.





A friend of mine just got a free HP Mini 1000 from his job and was bored stiff with Windows XP, he couldn’t really think of a use for the netbook so I suggested installing Mac OS X on it. The little machine is an excellent candidate for a hackintosh, and the setup is just a matter of patience and following some good instructions like the one at 







Need to access the current Finder directory immediately within the Terminal? While newer Mac OS X versions have an 

