Browse thru bash_history

  • 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
}


Powered by Drupal, an open source content management system