Some Bash history commands

tuffaha | March 10, 2008 | 8:37 pm

Here are some very useful commands to manipulate the history in Bash:

history
This command will list all the previous commands, so you can use it with grep to find what you want:
history | grep bla

a faster way is to use the ! operator :
!bla

Read the rest of this entry »