The Shell Game
The (Unix) Shell
- Launch Finder
- Open the /Applications/Utilities folder
- Double click Terminal
- Launch Launchpad
- Type Terminal
- Double click Terminal
Congratulations!
- You've just run your first Unix program
- bash - GNU Bourne-Again SHell
- (ok, technically run for you at login)
The Prompt
- [kevshaw@bioinfo ~]$
- [username@host "working directory"]prompt
- Who you are
- What machine you're using
- Where you are in the file system (~ = home directory)
- You'll see $ (not #)
ls
- ls - list directory contents
- Exploring the file system
Options (flags)—Have it Your Way
- -a, --all — all
- -f — file (or force)
- -q | -s — quiet or silent
- -r — recurse
- -v — verbose
"It's a Unix system.
YOU know this."