DEV Community

baltz
baltz

Posted on

terminal/unix tip

Search word in terminal history.

history | grep 'word_here'

Top comments (2)

Collapse
 
tux0r profile image
tux0r

Note that the usage of history relies on your chosen shell and (e.g.) the csh on Solaris might behave differently.

Collapse
 
baltz profile image
baltz

Thanks for the note