UNIX Programming, Certification, System Administration, Performance Tuning Reference Books
How can I use command history?

Command History

Type ksh -o vi

To recall a previous command hit the esc key followed by k
Keep hitting k to move back one command at a time.
To move forward in the command history hit j.
Once you have found a command to use hit return

Most vi commands can be used on the current line if needed before you hit return.
 

Return to : Unix System Administration Hints and Tips