Understanding File paths

File paths are an important part of understanding computer software. Here are several types of paths we encounter:

  • ../

    • This means go up one directory.

  • ./

    • This means select the current directory.

  • Relative

    • The file path is defined “relative” to our current directory

    • i.e. ../life/index.html would resolve to /users/eliot/life/index.html

  • Absolute

    • The file path is specified from the root of the file system.

The concept of understanding paths is important when you are: