LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-20-2004, 08:33 PM   #1
aarond
Member
 
Registered: Jul 2004
Posts: 36

Rep: Reputation: 15
What is this " > " mean when opening a directory?


Hello,

I created a directory a while ago that has a bunch of PDF's inside of it , I can browse that file and open the PDF's inside of it without issues. But when I open the Terminal and bowse to the file I get this:

[aaron@localhost aaron]$ ls
Desktop evolution prboom-2.2.3.tar.gz
Driver's Education log.txt rp8_linux_alpha_rh62_cs1.bin
[aaron@localhost aaron]$ cd Driver's Education
>
>
>
> q
>
>
>
[aaron@localhost aaron]$


As you can see typing " q " does nothing, nither does " ls " , or the " ESC " key.
Could someone please tell me what this is and why this directory is displaying this way?

Thanks in adavnce,

Aaron
 
Old 07-20-2004, 08:44 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
The problem is with the cd command. There are certain characters that have a special meaning to the shell. Your cd command should look like one of the following:

1. cd Driver\'s\ Education
2. cd "Driver's Education"

Using a single quote (without a backslash before it and outside double quotes) is interpreted as the beginning of a string. The shell expects you to give it a second single quote to end the string. That's what was wrong with the command to start with. The apostrophe in Driver's was interpreted as the start of a string, but you never finished it. When you pressed the Enter key, the shell gave you another line to finish the string. It would continue to do that until you gave it another single quote. The '>' is just a minimal prompt to signify this is a multi-line command you're typing in.

Last edited by Dark_Helmet; 07-20-2004 at 08:50 PM.
 
Old 07-20-2004, 09:20 PM   #3
aarond
Member
 
Registered: Jul 2004
Posts: 36

Original Poster
Rep: Reputation: 15
Great Reply

Thanks that's a great description of the issue,

Aaron
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 01:19 AM
FC4 not booting w/ message "ERROR opening /dev/console!!!!: 20" Dimension User Fedora 5 10-24-2005 05:03 PM
"WARNING: Circular directory structure" error when deleting directory pistonbrew Linux - Software 5 02-03-2005 06:05 AM
i just finished typing "./configure" and "make" in mplayer directory... kublador Linux - General 4 02-22-2003 03:12 PM
How can I catch some "KEY WORDS" from a text file without opening it? yuzuohong Linux - General 1 06-14-2002 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:23 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
Open Source Consulting | Domain Registration