File System and CWD

1) File System and CWD

Typically you use a program called Terminal to access the files and navigate through the directories on your file system. (There are also several other options for ‘shell prompts,’ among them: iTerm2, Alacritty, Hyper, Kitty, MacTerm. Whichever program you use, the screen that looks like this is called your shell prompt.

The directories and their sub-directories of your file system make up a hierarchy. As you code, you will navigate your shell prompt to different folders on your hard drive.

Where you currently are at your shell prompt— that is, the current directory— is called the current working directory (or CWD). You can navigate away from the current working directory using the next Unix command…