Linux – Directory (Folder)

Posted by

The following command will display the present working directory.


Change directory to Home

cd Home

change directory to user home directory

cd Home

change directory to root directory

cd ~

List contents of the directory

cd /

List other user’s directory

sudo ls -la /root 
the above line will display contents of root directory

Leave a Reply

Your email address will not be published. Required fields are marked *