Ubuntu – How to change directories from the command line?

cd-commandcommand linedirectoryhome-directory

I'm try to change to my Desktop directory from the terminal.

Running

cd /home/desktop

gives an error in the terminal saying no directory found.

What am I doing wrong?

Best Answer

iBelieve's answer covers almost everything, but alternatively you can type

cd ~/Desktop/

the ~/ stands for /home/$USER/ or $HOME/

Related Question