[Ubuntu-BD] how to find the command that used in shell

Tarin Mahmood mrlinux045 at gmail.com
Mon Mar 2 17:48:40 GMT 2009


forgot to mention,
the history is saved in ~/.bash_history file

you can execute a command from history using
![history no]

pipe to grep to search

like to search all ping commands

history | grep ping

there are many options, these are enough for my daily usage.

Mahmood


More information about the ubuntu-bd mailing list