One tip or trick per answer.
My favorite is
open .
Opens the folder you're currently browsing in Finder.
Mac OS X specific answers only.
|
32
|
|||||||||||||||||
|
|
|
|
|||
|
|
|
|
The
|
||||||||
|
|
|
It's not built in but this is the most effective way to get my wife to stop using my laptop to read celebrity news for hours after 4-5 requests to get my macbook back:
Since it's almost always around 70c it's believable.
|
||||||||||||
|
|
|
You can also watch what a particular process opens by passing in the PID:
Or watch a particular file to see who's opening it
|
|||
|
|
|
|
(Assuming we're looking for Mac OS X specific tricks.) I've got an alias to launch quicklook on a file from the command line:
Hit CtrlC to kill it and return to the prompt. |
||
|
|
|
|
|
|||
|
|
|
|
With
Dismounting takes a bit more work:
|
||||
|
|
|
|
||||
|
|
|
|
|||
|
|
|
|
Although I can get around in vi, I use TextMate as my command line editor. You can also pipe things to it. For example ls|mate opens up TextMate with the current directly listing open in a text window. |
|||
|
|
|
|
|
|||
|
|
|
|
Quickly check what is eating all your memory:
And for your CPU
Q to quit |
|||
|
|
|
|
Runs the last command again. Great for tracking changes. |
|||
|
|
|
|
I use it, notably, in a service that converts the selected text to HTML, uploads it to a server then imports it into Instapaper. |
|||
|
|
|
|
http://github.com/joelthelion/autojump - "cd" that learns. |
|||
|
|
|
|
the most interesting pschotherapist you will ever talk to:
|
|||
|
|
|
|
Will restore the previous directory you were in. Very handy if you accidentally type cd and flip to home. |
|||
|
|
|
|
I've recently been using |
|||
|
|
|
|
cd - jumps back to the last directory you were in. |
|||
|
|