LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-20-2013, 06:55 PM   #1
climaon
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Rep: Reputation: Disabled
How to get back on prompt...?


(in terminal) i keep getting
>
>
>
no matter what i type and press enter
>
same symbol appears
am not able to get back on prompt....
 
Old 02-20-2013, 07:04 PM   #2
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: Pop!_OS
Posts: 945

Rep: Reputation: 297Reputation: 297Reputation: 297
You may have started a command and it is waiting for you to finish. Hit control+d or a control+z and it should come back.
 
1 members found this post helpful.
Old 02-20-2013, 07:09 PM   #3
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,784

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
You probably want control+c, as in this thread.
 
1 members found this post helpful.
Old 02-20-2013, 10:59 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
As per ntubski for a soln; its usually caused by accidentally opening quotes eg " or ' and then not closing them.
 
Old 02-20-2013, 11:28 PM   #5
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
It might had happened because you typed some command and mistakenly put a backslash "\" at the end. So as suggested above, use CTRL+C to exit from it and return to regular prompt.
Code:
~$ some_command \
>
>
> CTRL+C
~$
 
Old 02-21-2013, 09:36 AM   #6
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,784

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Quote:
Originally Posted by shivaa View Post
Code:
~$ some_command \
>
>
> CTRL+C
~$
A backslash only asks for one more line:
Code:
~$ true \
>
~$
Code:
~$ true \
> \
> \
> \
>
~$
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [startx problem] - startx goes to black/grey screen and comes back to command prompt! iNUKE Ubuntu 13 01-07-2011 01:32 PM
How to get a shell prompt back after a shortcut launches a command? Passions Linux - Newbie 3 04-27-2009 03:18 PM
How do I get back the $ prompt after using the man feature? jacatone Linux - Newbie 2 02-08-2009 03:51 AM
startx command in FC7 reverts me back to the command prompt sriram87 Linux - Newbie 5 01-03-2008 11:18 PM
chroot jail - jumps back to password prompt The_JinJ Linux - Newbie 1 12-05-2005 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration