- View
- Edit
- Delete
Situation:
This script just browses through the .bash_history file. It displays the commands that match the keyword you type as argument.
function browse_history {
cat ~/.bash_history | grep $1
}