If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > How to retrieve history command in AIX ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-29-04, 20:24
yfs_168us yfs_168us is offline
Registered User
 
Join Date: Jun 2004
Posts: 7
Talking How to retrieve history command in AIX ?

Hi All,

I'm used to HP-UX and I normally used the ESC-K to retrieve the history command from the command prompt. Now my company plan to use IBM AIX and I'm wondering how do I do that in AIX ? I just want to retrieve the history command at the command prompt. Another thing is what is the equal command for top in AIX ?

Cheers.
Reply With Quote
  #2 (permalink)  
Old 06-29-04, 21:01
vgersh99 vgersh99 is offline
Registered User
 
Join Date: Apr 2004
Location: Boston, MA
Posts: 325
seems like either had ksh or bash on HP-UX. Is that correct?
and you're using 'vi-type' editing mode of history.

make sure that your shell is either ksh or bash, and your mode is 'vi' - in shell do:
set -o vi
__________________
vlad
+-----------------------+
| #include <disclaimer.h> |
+-----------------------+
Reply With Quote
  #3 (permalink)  
Old 06-30-04, 17:37
saccskiz saccskiz is offline
Registered User
 
Join Date: Feb 2004
Posts: 143
For me Esc-K is working for history commands. (I am on AIX 4.3).
In AIX, I would think topas is the equivalent command to top
Reply With Quote
  #4 (permalink)  
Old 06-30-04, 18:05
saccskiz saccskiz is offline
Registered User
 
Join Date: Feb 2004
Posts: 143
Hope this interests you --

http://bhami.com/rosetta.html
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On