AP Networking Practice Test

Access More Questions
Which command is used to change the current working directory?
Correct Answer:
Cd
Explanation:
Changing the current working directory means moving your shell's focus to a different folder in the filesystem. The command used for this is the one that updates where you are in the directory hierarchy: you type cd followed by a path to switch to that location. cd stands for change directory, and it is what you use to navigate around rather than manipulating files themselves. For example, cd /home/user/projects takes you to that directory, and cd .. moves you up one level. In contrast, other common commands perform different tasks: mv moves or renames files, mkdir creates a new directory, and cp copies files. You can confirm your location with pwd and list contents with ls.

Access more questions from this quiz

Continue to AP Networking Practice Test for more practice questions and the full quiz experience.

Access More Questions