Solved

Linux Terminal Stuck in > Mode

Posted on 2010-11-10
4
1,139 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
4 Comments
 
LVL 9

Accepted Solution

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

Assisted Solution

by:brb6708
brb6708 earned 50 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:LinuxBugs
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now