The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Previous command new2ss HP-UX 5 02-14-2008 06:06 AM
Previous Command vskr72 UNIX for Dummies Questions & Answers 2 04-20-2007 11:03 AM
Previous Command vskr72 Shell Programming and Scripting 1 04-19-2007 07:04 PM
Previous Command vskr72 UNIX for Advanced & Expert Users 0 04-19-2007 06:51 PM
getting the previous command luft UNIX for Dummies Questions & Answers 5 08-18-2005 11:02 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-29-2006
JackieChan JackieChan is offline
Registered User
  
 

Join Date: May 2006
Posts: 2
Seeing previous command

Guys,
In work we have just gotten a new HP 9000 server and I'm trying to set it up so that if I press <Up arrow> key I can see the command I typed in last(and press enter to run it again).
Can anyone advise how to set this up. One friend suggested I touch a file called .toucheditXXXX (I cant remember the full name).
I tried googling for this but now joy.
Appreciate any help
Cheers
JC
  #2 (permalink)  
Old 05-29-2006
matrixmadhan matrixmadhan is online now Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,944
what shell are u using?

in ksh - esc + k
in bash - by default what u have requested ...
  #3 (permalink)  
Old 05-29-2006
JackieChan JackieChan is offline
Registered User
  
 

Join Date: May 2006
Posts: 2
Cheers Matrix.
I'm in ksh so esc+k/j is doing the trick.
JC
  #4 (permalink)  
Old 06-02-2006
Sarala Anugu Sarala Anugu is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 5
what if i am using csh, and I don't want to get into ksh

i usually do this way
ksh -o vi

Is there any other way? i hv already set the env variable EDITOR to vi, but now use
  #5 (permalink)  
Old 06-02-2006
vgersh99's Avatar
vgersh99 vgersh99 is online now Forum Staff  
Moderator
  
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 5,119
not in csh [as far as I know] - try 'tcsh'
Sponsored Links
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 01:00 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