What command changes the current directory?

The command to change the current directory in a terminal is cd.

For example, to change to a directory named myfolder, you would use:

cd myfolder

To go back to the parent directory, you can use:

cd ..

0 Comments

no data
Be the first to share your comment!