LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 16
terminal


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, 02:09 AM   #2
kdelover
Member
 
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, 02:10 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

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, 02:16 AM   #4
Jesse W
Member
 
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 02:17 AM.
 
Old 09-26-2009, 02:19 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Quote:
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, 05:49 AM   #6
r3sistance
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.

randommusic.wav
project.txt
project.bak

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

project.txt
project.bak

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.
 
  


Reply



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 02:04 PM
not screen-blanking in terminal - what sets the idle timeout on monitor for terminal stardotstar Linux - Hardware 2 08-14-2011 05:46 AM
Opening VLC with the terminal line so the terminal will go back to normal baldurpet Linux - Newbie 3 01-14-2009 09:57 AM
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 10:34 AM
Switching back to the Mandrake 9.1 desktop from terminal rdesktop terminal session marc218 Linux - General 6 02-08-2007 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:57 PM.

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