• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1279
  • Last Modified:

Linux Terminal Stuck in > Mode

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
anuneznyc
Asked:
anuneznyc
2 Solutions
 
avilovCommented:
ctrl+c works form me
0
 
brb6708Commented:
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
 
Venkatesh VelugubantlaTechnical Program ManagerCommented:
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
 
anuneznycAuthor Commented:
These both worked. Thanks!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now