history | grep
Shell (~bash) - OS X, Windows, Linux
Pipe history
into grep
to search your past commands in a shell
> history | grep unicorn
> ... <snip>
> 976 bundle exec unicorn -c config/unicorn/production.rb -E production -D
> ... </snip>
Shell (~bash) - OS X, Windows, Linux
Pipe history
into grep
to search your past commands in a shell
> history | grep unicorn
> ... <snip>
> 976 bundle exec unicorn -c config/unicorn/production.rb -E production -D
> ... </snip>