Tech-Talk
Technology tinkering notes.
Thursday, May 7, 2015
Search bash History for All Users
To search bash history for all users, for a given command:
find /home/ -name .bash_history -type f -exec grep -H $cmd {} \; | more
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)