Solved

Linux Terminal Stuck in > Mode

Posted on 2010-11-10
4
1,172 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
App holding yum lock unable to update my rpm package 1 54
How to mount an LVM partition that is part of a disk image. 3 72
Linux hostname change 2 72
Video Streaming 6 73
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

773 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