?
Solved

Linux Terminal Stuck in > Mode

Posted on 2010-11-10
4
Medium Priority
?
1,230 Views
Last Modified: 2012-05-10
I new to Linux. Opened up Terminal and accidentally typed the apostrophe (') character and pressed Enter and now my command line is stuck w/ a ">" prompt.  I can't get out of it other than closing the entire Terminal session.

What mode is that, what is it used for, and how can I exit out of it to get back to a normal $ prompt?
0
Comment
Question by:anuneznyc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 9

Accepted Solution

by:
avilov earned 200 total points
ID: 34102920
ctrl+c works form me
0
 
LVL 6

Assisted Solution

by:brb6708
brb6708 earned 200 total points
ID: 34103008
you started a variable using apostrophe and you have to end it again

for example :

echo 'my multiword variable'


So simply enter another '  and hit return; probably you'll get an error message but after that you can try on.
0
 
LVL 2

Expert Comment

by:Venkatesh Velugubantla
ID: 34103017
Hi.. ctrl+S is for scroll lock and often lInux console gets locked when you accidentally press these keys. You could release it by pressing ctrl+Q

0
 

Author Closing Comment

by:anuneznyc
ID: 34103676
These both worked. Thanks!
0

Featured Post

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question