PDA

View Full Version : [ubuntu] NEED HELP: Terminal Bash: No such file or directory



WeEatVista
June 1st, 2008, 11:43 PM
I have been trying to install programs on my new ubuntu 8.04 install and in the instructions, it usually says:

Type cd /home/yourname/desktop

Every time I do this, I always get:

Bash: cd: /home/tom/desktop: No such file or directory

I need help because I need this command to do a lot of things in terminal.

Thanks in advance,
We Eat Vista

P.S. yes i am using my name and not typing in my terminal cd /home/yourname/desktop

Monicker
June 1st, 2008, 11:48 PM
Linux is case sensitive for file and directory names.

cd /home/username/Desktop

phidia
June 1st, 2008, 11:52 PM
It will help you if you type
ls and press the <enter> key in the directory you are working in because then you will see how the files are actually labeled. I think desktop is actually Desktop it makes a difference in linux if you are typing upper or lowercase. Also commandline completion is a real saver-just type a few letters of the filename and press the tab key if bash "sees" the file it will complete the name for you.
Hope that helps.

rampageoberon
June 2nd, 2008, 12:11 AM
Also its always good to use the tab completion feature. So if it doesn't tab complete you know its not there.