Linux.com

interactive way

Posted by: Anonymous Coward on July 03, 2006 06:29 PM
I often use ctrl-r to start an history search (reverse-i-search) : ctrl-r + you type part of a previous command (and you can ctrl-r to search further backward) and you can edit the command before pressing enter.

#

Return to CLI Magic: Using command history in the bash shell