Working with previously entered commands using Esc-kYou can also recall and then edit commands that you previously submitted by using the Esc-k key combination. This requires that the set -o vi option be set. Once it is set, hit the Esc-k key combination to recall your last command. Then, for each command you wish to go further back with, you can enter the k command. Entering the letter k allows you to scroll one command further back. When you finally get to the command that you wish to re-use, you can hit the Enter key to execute the command. You may also modify this command by using vi editing commands.
Next: Input/Output Redirection With The Up: The Korn Shell Previous: Working with previously entered   Contents |