How to use 'cd ..'?

The cd .. command is used to navigate to the parent directory of your current directory in the terminal. Here's how to use it:

  1. Open your terminal.

  2. Check your current directory by using the pwd command:

    pwd
  3. To move to the parent directory, simply type:

    cd ..
  4. You can verify that you've moved up one level by using pwd again:

    pwd

This will show you the path of the parent directory.

0 Comments

no data
Be the first to share your comment!