Previewing a command from the history list

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


To...                                        Do this...


Preview the previous command. !!:p Preview command number n !n:p Preview most recent command starting !string:p with characters in string Preview most recent command containing !?string:p characters that match string

[Home] [Search] [Index] This site maintained by unixhelp@mathcs.duq.edu