![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with the History command | cleansing_flame | UNIX for Dummies Questions & Answers | 2 | 02-04-2008 08:25 AM |
| History command | akash_wagh | Filesystems, Disks and Memory | 0 | 08-31-2005 02:54 AM |
| Command history | a25khan | UNIX for Dummies Questions & Answers | 8 | 12-10-2003 02:05 AM |
| command history | vikasdeshmukh | UNIX for Dummies Questions & Answers | 3 | 11-14-2001 01:37 AM |
| History Command | jack | UNIX for Dummies Questions & Answers | 2 | 08-01-2001 10:01 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Command history in AIX
Hi All,
I would like to know how to get the command history from the prompt. For example in dos, if we hit the Up Arrow, we get the previous command. I am not getting this in my telnet session (AIX) at the prompt. I know that if I type history command it will give a list of cammands I typed earlier. But what i need is the short cut key were like the up arrow in dos were in i will get the previous command at the prompt. Thanks in advance... Priya |
| Forum Sponsor | ||
|
|
|
|||
|
Assuming your shell is ksh and you're used to vi:
Code:
$ set -o vi $ <esc>k You can also set -o emacs if you know the keystrokes for emacs. Carl |