Compartilhar via


Command recall using the up arrow in Korn shell

The command below can be used on a Korn shell to use the command recall feature using the up arrow on a korn shell.

  • set -o emacs

We can use 'history' command to displays a list of commands numbered in the order in which you have used them. By default the previous 128 commands which you have used are saved.

  • history

We can also the the 'r' command to rerun the previous command

  • r