Unix Reference PDF

Unix reference (click to download) – A great Printout Unix Reference – found on Fosswire.com.

Terminal/Unix tutorials
http://smokingapples.com/software/tutorials/mac-terminal-tips/
http://guides.macrumors.com/Terminal
http://www.lynda.com/Mac-OS-X-10-6-tutorials/Unix-for-Mac-OS-X-Users/78546-2.html

Some Handy Terminal Unix Commands:

TERMINAL
cmd+k = clear scrollback
Man = manual
man ls = will give definition of ls – add your keyword afterwards.
man = man will give manual on man
man -k = will search for a keyword
man apropo =  same as above

ls = lists files
ls -l = vertical list with details
ls -la = vertical with full details and shows hidden config files as well as the current and parent directory.
ls -lah = same as above with “human” sizes – in bytes

drwx-xr-x+

D = Directory
PWD = current working directory
cd .. – up one directory
cd ../.. up two directories
Tab – to autocomplete. tab tab will show options if it’s not finding what you want.
cd / = root of hard drive
cd ~ = user directory
cd – = switch to last directory (toggles between two places.)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>