Previewing a command from the history list

You can preview a command from the history list without having to re-run it. You can then edit the command line to modify the command.


To...                                        Do this...


Preview previous command in the list ^P Preview next command in the list ^N Preview command number n !n:p Preview most recent command starting with !string:p characters in string

[Home] [Search] [Index] This site maintained by unixhelp@ed.ac.uk