08/08/10 18:06:44

Terminal Tips and Tricks for Mac OS X

Some really awesome neat Terminal commands.

For instance opensnoop:

sudo opensnoop
sudo opensnoop -p PID
sudo opensnoop -f /etc/passwd

or the commands to interact with the OS X clipboard pbcopy and pbpaste:

grep 'search term' largeFile.txt | pbcopy
pbpaste | sed 's/ /%20/g'

And I really like these:

Great for any .profile or .bash_profile.

More commands