The > symbol | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

The > symbol

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-13-2006
csb csb is offline
Registered User
 
Join Date: Jun 2006
Last Activity: 13 June 2006, 8:19 PM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
The > symbol

Hi guys,

Im new to unix; I have a problem at hand.

Somehow at the terminal, I lost the command prompt, instead I get a ">" symbol. Anything I type in does me no good. What do you recommend?

Thank you for your help.
Sponsored Links
    #2  
Old 06-13-2006
tayyabq8's Avatar
tayyabq8 tayyabq8 is offline Forum Advisor  
Ex-Moderator
 
Join Date: Nov 2004
Last Activity: 16 December 2013, 12:55 AM EST
Location: Bahrain
Posts: 592
Thanks: 3
Thanked 8 Times in 3 Posts
Try Delete key or Ctrl+C or Ctrl + z to come out of that command and bring your prompt back.
Sponsored Links
    #3  
Old 06-13-2006
thestevew thestevew is offline
Registered User
 
Join Date: Mar 2006
Last Activity: 11 July 2008, 4:53 AM EDT
Location: South Yorkshire, UK
Posts: 114
Thanks: 0
Thanked 1 Time in 1 Post
The > is the default UNIX secondary prompt (held in the $PS2 environment variable, so you can change it for the current logon session with PS2="anythingyoulike ") and shows that the last command line was incomplete, often because of unclosed quotes
e.g.

Code:
$ print "hello
> world"
$

or you are entering a multi-line command

Code:
$ for a in x y
> do
> print $a
> done
x
y
$

To get back to normal finish the command or terminate it (control-c)

cheers
    #4  
Old 06-13-2006
hu$h's Avatar
hu$h hu$h is offline
Registered User
 
Join Date: May 2006
Last Activity: 13 October 2006, 7:45 PM EDT
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
try q and enter or bye and enter. it may be an FTP command prompt or somthing along thoughs lines.

hush
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
To replace '(' and ')' symbol using tr or sed thomasraj87 UNIX for Dummies Questions & Answers 8 05-17-2012 09:40 AM
Symbol reference john_prince Shell Programming and Scripting 1 01-21-2011 04:58 PM
/usr/lib/passwdutil.so.1: symbol __nsl_fgetspent_r: referenced symbol not found dshakey Solaris 0 03-18-2010 03:11 PM
use of \&\& symbol suryahota Shell Programming and Scripting 2 10-04-2007 08:15 AM
Append with TM symbol ganesh123 Shell Programming and Scripting 1 03-20-2007 04:41 PM



All times are GMT -4. The time now is 08:08 PM.