Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-26-2009, 03:06 AM   #1
Jesse W
Registered: Sep 2009
Location: Dunedin, New Zealand
Posts: 54

Rep: Reputation: 16

hay this might be a really stupid question but . .
ive been trying to learn terminal commands, but the 'cd' command doesn't seem to work.
for example if can use the 'ls' command and it will say desktop, music, pictures etc. but when i then type 'cd music' it says no such file or directory. can someone please tell me what i am doing wrong? or post a link to a similar topic
Old 09-26-2009, 03:09 AM   #2
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36
do a ls -l and post the results here and M in music is capital .I'd advice you to use tab completion
Old 09-26-2009, 03:10 AM   #3
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Probably because it's case sensitive. Does it say Desktop or desktop?

So try cd Desktop
Old 09-26-2009, 03:16 AM   #4
Jesse W
Registered: Sep 2009
Location: Dunedin, New Zealand
Posts: 54

Original Poster
Rep: Reputation: 16
worked when i used correct cases, haha how smart am i . . . : /
thanks for the quick replies btw

Last edited by Jesse W; 09-26-2009 at 03:17 AM.
Old 09-26-2009, 03:19 AM   #5
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Originally Posted by Jesse W View Post
worked when i used correct cases, haha how smart am i . . . : /
thanks for the quick replies btw
Never mind. I have experienced that there is no limit to my idiotness when it comes to linux and computers.
Old 09-26-2009, 06:49 AM   #6
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
I'd advise learning to use tab as well, if you type a few characters then hit tab, it should auto complete as far as possible the path you are typing.

So if you have three files in a directory called.


if you type 'p' then hit tab it should go "project.". When you hit this point you can then double hit tab and it should show


If you hit tab and it doesn't auto complete and you hit it again and it doesn't display any possibilities then you probably got something wrong with the name.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I resize the terminal window from the command line in the gnome terminal QuIcKSpArK Linux - Newbie 5 04-21-2012 03:04 PM
not screen-blanking in terminal - what sets the idle timeout on monitor for terminal stardotstar Linux - Hardware 2 08-14-2011 06:46 AM
Opening VLC with the terminal line so the terminal will go back to normal baldurpet Linux - Newbie 3 01-14-2009 10:57 AM
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 11:34 AM
Switching back to the Mandrake 9.1 desktop from terminal rdesktop terminal session marc218 Linux - General 6 02-08-2007 03:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration