Results 1 to 5 of 5
so earlier my finger slipped and I accidental hit the wrong button (I typed in ls' please note the appostrophe.) this made some craziness happen in my terminal (example below) ...
- 11-01-2007 #1
quick BASH question
so earlier my finger slipped and I accidental hit the wrong button (I typed in ls' please note the appostrophe.) this made some craziness happen in my terminal (example below) that I was curious about and was wondering if anyone could help. so allow me to cut to the proverbial chase.
cyrus@gizmotron:~$ ls'
>
>
>
>
>
>
and I can't get out of this and back to the command prompt without starting a new terminal session. first of all, what have I come across, second of all how do I get out of it, and third of all, is this feature useful and if so how can I use it?
I would be most utterly grateful for any light shed upon this subject
thank youLast edited by LinuxZealot; 11-01-2007 at 09:57 AM. Reason: clarification
- 11-01-2007 #2
You entered an unpaired quote. Bash assumes that quotes and brackets always come in pairs so it concluded that you hadn't finished typing in your command. The > is a continuation prompt, used whenever a command is to go over one line. Bash will go on prompting you for a continuation until you enter the second quote.
"I'm just a little old lady; don't try to dazzle me with jargon!"
- 11-01-2007 #3
- 11-01-2007 #4
awesome, thank you verymuch
- 11-04-2007 #5Just Joined!
- Join Date
- May 2007
- Location
- Auburn, Washington
- Posts
- 34
Well if you ever have any more questions about bash, just refer to this guide:
http://tldp.org/LDP/abs/html/abs-guide.html


Reply With Quote
