File system

Parent directory

Also known as: “the directory above”.

The parent of any directory has the special name .. (two dots).

This is useful because you can include it in file paths without needing to explicitly know the name of the parent.

The path to the file notes.txt in the parent directory is:


You can apply this more than once. The path to the file in a directory three directories above your current directory is: