Very useful indeed, use history command along with grep command in UNIX to find any relevant command you have already executed.
Example
$ history
Output
911 man 7 signal
912 man ps
913 man 7 signal
914 man killall
915 killall -l
916 man killall
917 su -
$ history | grep killall
Output
914 man killall
915 killall -l
916 man killall