LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-14-2005, 09:18 PM   #1
LizardLappy
LQ Newbie
 
Registered: Dec 2005
Distribution: SUSE 10.0 OSS (64 bit)
Posts: 14

Rep: Reputation: 0
Unhappy All I get is > when I change directories? Plz help me


Hi, I'm new to linux. I've been using Suse 10.0 on my laptop for about 2 months now, and so far I like it alot more than Windows (if for nothing else, I don't get any more viruses) and I hope to become an active contributor to the open source community soon. I'm still trying to learn the command line, but I think I messed something up. I was reading the wiki about commands and I was trying out the find command. All I entered was find /usr, and a list of files popped up (not sure what use the find command is), but now for some reason whenever I go to a new directory, the terminal goes to a > sign and I can't enter anymore commands, all I can do is type, and I hit enter and it starts a new line with another > sign. I tried to open a new terminal, and I even tried restarting the computer, but to no avail. Can someone tell me what I did wrong? Here's an example of what I'm talking about:

jesse@linux:~> cd /home
jesse@linux:/home> cd jesse
jesse@linux:~> cd /home/jesse/Jesse's Music
> now
> I can't type
bash: cd: /home/jesse/Jesses Music
now
I cant: No such file or directory
jesse@linux:~>

PLEASE tell me what I messed up . Thanks !!!
 
Old 12-14-2005, 09:25 PM   #2
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
LizardLappy,

Code:
cd /home/jesse/Jesse\'s\ Music/
Using TAB to auto-complete will also help

-Kristijan
 
Old 12-14-2005, 09:27 PM   #3
DropSig
Member
 
Registered: Apr 2004
Location: East of Quebec
Distribution: Ubuntu, Centos
Posts: 208

Rep: Reputation: 30
try cd /home/jesse/Jesse (tehn rgiht here, DONT PRESS ENTER, press Tab) Linux will complete it for u or if there is more than 1 possibility, it will list them after the second time u press Tab.
The problem is the "'".
If there is only one DIR starting with Jesse, u will see how to type it.( Pressiing tab is quicker
 
Old 12-14-2005, 09:28 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Quote:
cd /home/jesse/Jesse's Music
It's likely seeing the single quote ( ' ) as part of a command and is waiting for the ending single quote to complete the command.
To get around this, use double quotes or press tab to complete the dir or file name.
For example:
cd /home/jesse/"Jesse's Music"
 
Old 12-14-2005, 09:38 PM   #5
LizardLappy
LQ Newbie
 
Registered: Dec 2005
Distribution: SUSE 10.0 OSS (64 bit)
Posts: 14

Original Poster
Rep: Reputation: 0
Freakin awesome. I didn't expect such a quick reply. Problem solved. Using TAB helps, it's a lot quicker than using typing out the directory with the \ or as I call it, the dos slash. I never realized why the \ slash caught on as being more convenient to type than the / slash which is much more convienently located on the keyboard especially on a laptop. Just one more reason to like linux.
 
Old 12-15-2005, 12:54 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Even better, take the "'" out of your filenames. Linux/Unix does not like spaces and special characters in filenames. using short names with "_" as the separator will save lots of trouble---eg when you need to use ftp and can't use wildcards in the remote filenames
 
  


Reply


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 can I change the directory I am currently in and all directories under it to 755? abefroman Programming 6 10-21-2005 07:15 PM
chmod to only change directories lluciano Linux - General 2 08-17-2005 03:14 PM
How to change directories in DOS zWaR General 17 11-09-2004 11:29 AM
Where to find/How to change .h include directories for g++ sfcesario Linux - Software 1 01-31-2004 11:12 AM
How do I change permissions of files/directories? Okashira Linux - Newbie 5 01-12-2004 06:11 PM


All times are GMT -5. The time now is 01:06 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration