/
Understanding File paths

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:

Related content

Escape sequences
Escape sequences
Read with this
How do I navigate the file system in the command prompt?
How do I navigate the file system in the command prompt?
More like this
What parts of HTTP should be avoided for a modern Web API?
What parts of HTTP should be avoided for a modern Web API?
Read with this
Understanding search paths
Understanding search paths
More like this
Heading and Paragraph tags
Heading and Paragraph tags
Read with this
Traditional Website Architecture
Traditional Website Architecture
More like this