The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
getting previous filename shary Shell Programming and Scripting 3 03-20-2008 05:50 AM
code that reads commands from the standard i/p and executes the commands Phrozen Smoke High Level Programming 4 01-22-2007 02:06 AM
how do I get my arrow keys to work for looking thru my PREVIOUS UNIX COMMANDS spotnis UNIX for Dummies Questions & Answers 11 09-14-2005 02:22 AM
Value of previous row using awk videsh77 Shell Programming and Scripting 2 02-18-2005 01:23 PM
Can I use history command to run previous commands? firebirdonfire UNIX for Dummies Questions & Answers 2 03-30-2001 09:05 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-24-2008
shafi2all shafi2all is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 68
previous commands using UPARROW key

What settings should be done in order make UPARROW key to show previous commands on the shell prompt(Solaris)?
  #2 (permalink)  
Old 07-24-2008
rcmrulzz's Avatar
rcmrulzz rcmrulzz is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 45
previous commands using UPARROW key

@shafi2all
If you are in bash shell...up arrow should work and show you the previous commands you typed and used....Also you can use the history command to go thru the previously used commands...
  #3 (permalink)  
Old 07-24-2008
shafi2all shafi2all is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 68
Dear r*, I am not using bash but csh.. I know history command. want UPARROW to work.
  #4 (permalink)  
Old 07-24-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,112
At the shell prompt, just type bash:
hostA#bash
It will switch from csh to bash. You can type #exit when you want to drop back to csh
  #5 (permalink)  
Old 07-24-2008
jlliagre jlliagre is online now Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,465
csh simply doesn't support up and down arrows for history browsing.
tcsh does if you want to stick with csh syntax.
Otherwise, use bash or better: ksh93.
  #6 (permalink)  
Old 07-25-2008
rcmrulzz's Avatar
rcmrulzz rcmrulzz is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 45
previous commands using UPARROW key

Exactly...
  #7 (permalink)  
Old 07-25-2008
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 354
run /usr/bin/bash and you will have up arrow history

only problem is if you don't have it, you need to pkgadd bash (forgot the package name).
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:18 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0