|
Repeat previous unix command
Thanks for your reply. I am using ksh.
In linux, if my last command is for example "ls -ltr |tail", I just hit the "arrow up " key to bring it (ls -ltr |tail) back on the command line and then verify it. This gives me the opportunity to display the command before executing it.
The command 'r' that vbe suggests is good, but it is executed before I even have the opportunity to dsplay it.
I need a command (or key stroke) in order to display and then repeat the execution without retyping the command. Any idea?
Thanks!
|