What command is used to move up one level to the parent directory?

QuestionsQuestions8 SkillsProBasic Files OperationsAug, 02 2025
0341

To move up one level to the parent directory in Linux, you can use the cd (change directory) command followed by .. (two dots).

Command:

cd ..

Explanation:

  • cd is the command to change directories.
  • .. represents the parent directory of the current working directory.

After executing this command, your terminal will be in the parent directory of your current location. If you have any more questions or need further assistance, feel free to ask!

0 Comments

no data
Be the first to share your comment!