Files, Directories, and Paths

Directories

Directory System Structure

Note - don't confuse the root directory with the root login or user. The root directory is simply the topmost directory in the LINUX filesystem. The root login is a user on the LINUX machine who has absolute power to do anything on the machine.

Absolute and Relative Path Names

  1. I can cd to the /Users/cathybishop/g directory and then reference the file as simply my_dogs (for example, file my_dogs)
  2. I can use the absolute pathname of the my_dogs file (i.e. file /Users/cathybishop/g/my_dogs)
  3. I can use a relative pathname (i.e. file cathybishop/my_dogs or file ./cathybishop/my_dogs).