2.2. Walkthrough: Navigating the File System With Bash

Everything in the File System (FS) and commands that affect it are based around relative and absolute paths. Refer to the Shell introduction articles for a more detailed explanation. Below is a practical refresher:

  • relative path: relative to a variable location, your current working directory (CWD)
  • absolute path: relative to a constant location, the root directory (/)

You will notice that most of the FS related commands make use of path arguments that can be written as relative or absolute paths.