How to go up one directory?

To go up one directory level using the cd command, you can use the .. notation, which represents the parent directory of your current location.

Command:

cd ..

Example:

If you are currently in the directory /home/user/Documents and you execute the command above, you will move up to /home/user.

You can verify your new location by using the pwd command, which will display your current working directory.

0 Comments

no data
Be the first to share your comment!