Parent Directory

noun

say it: “PAIR-unt dih-REK-tuh-ree” /ˈpɛərənt dɪˈrɛktəri/

The folder that holds the one you're in, one level up, written as two dots (..).

What is the parent directory, and how do you write it?

The parent directory is the folder that holds the one you're in, one level up. The shell writes it as .. (two dots), so cd .. takes you up one folder.

pwd
# /home/maya/school/biology
cd ..
pwd
# /home/maya/school

In a sentence

  • “The receipts folder's parent directory is day-2-city.”
  • “cd .. moves you to the parent directory.”

Level: Novice · More Unix terms at this level

Updated