How to go to a folder in Terminal [duplicate]

I'm new to Ubuntu and I need to know how I go to a folder on my desktop in Terminal. I also need to extract a file from the folder if you could tell me where to put the command to extract it as well. Thanks

1

1 Answer

Open terminal then type the below command:

cd ~/Desktop/[Name of the folder]
pwd

This should show the preset working directory which should be /home/[username]/Desktop/[Name of the folder].

4

You Might Also Like