2-Filesystem Introduction
- *****WARNING*****
- Unlike deleting files in the Finder, there is no Trash can in the
Terminal. Once something is deleted, it is gone! There is no
Undo! Be warned…
- When you access the filesystem thru the Terminal, it is the same
filesystem as the one you access thru the Finder
- Same file structures
- Folders (called directories) are separated by a /
- / is the Root Partition, the System Drive
- everything is considered to be contained within /, even if they
actually aren't
- A Mount Point is used to link to another drive or partition
- In the old days, you had to manually mount the drives
manually, using the "mount" command
- OS X now uses Automount
- All Mount points are in the /Volumes directory
- they also show up on the Desktop and in the Finder
sidebar
- ~ is UNIX shorthand for your homefolder
- ~ = /Users/username
- ~ = /Users/bart
- App Settings kept in ~/Library
- . = link to the current folder
- .. = link to Enclosing Folder
- If current directory is /Users/Bart, then .. points to /Users
- All Directories Contain .. except /
- since there isn't anything above /
-
- Bart Busschots
- bartb.ie
- impodcast.tv
- podfeet.com