[PLUG] Terminal search

Dan Young dan_young at parkrose.k12.or.us
Sun Jan 5 10:57:03 UTC 2003


Dirk Ouellette said:
> How do you find a specific command you've given in a terminal's history?
> More precisely, how do you find it when it was used from a specific
> file? My current history is 100+ commands.

grep <command> ~/.bash_history

where <command> is the string you are looking for. Are looking for a
date/time stamp for each command? I can't help you there.

-Dan Young
-Parkrose School District






More information about the PLUG mailing list