cd

noun

say it: “SEE-DEE” /ˌsiː ˈdiː/ or “SEE DEE” /siː diː/

A command that moves the terminal into another folder, which becomes the folder your commands work in.

What does cd do?

cd ("change directory") moves you to another folder. cd .. goes up one level; cd alone goes home.

cd projects/recipe-box
cd ..
cd ~

In a sentence

  • “I used cd projects/scoreboard to go into the project folder.”
  • “Type cd on its own to go home.”
  • “Sam used cd .. to go up one folder.”

Level: Novice · More Unix terms at this level

Updated