Last Updated: February 25, 2016
·
307
· marccantwell

Search shell history

Type history at a shell prompt:

$ history

To search for a particular command:

$ history | grep command-name
$ history | egrep -i 'scp|ssh|ftp'