Dot Dot

What does .. mean in file paths?

Explanation:


Examples

Suppose you are in the directory:

/home/user/documents

Usage in Commands

Let's say you are in the directory /home/user/documents and you want to go up one level:


Summary Table

Notation Meaning Example Path
. current directory ./file.txt
.. parent directory ../file.txt

In short:

The .. in file paths always points up one folder, or the "parent directory.