Mike's PBX Cookbook

Basic OS X UNIX Commands

There are lots of OS X and UNIX tutorials on the web, but here is a collection of some basic commands which you might find usefull when working in Terminal on your Mac. A bigger list of OS X commands is here.

➤ The following commands will allow you to navigate between directories:

You can redirect the output of a command to a text file. Type ls > mydirectorylist.txt and press Return. A text file named mydirectorylist.txt appears containing the ouput from the ls command.

➤ The following commands will allow you to work with files:

➤ The following commands are useful Miscellaneous Commands:

When you’re working in Terminal, you don’t have a Trash Can to which deleted files are moved pending ultimate disposal. Delete it, and it’s gone. In general, UNIX has no Undo function.

Home » Other » Mac-cmds