[colug-432] Search Command History

Joshua Kramer joskra42.list at gmail.com
Tue Feb 11 05:35:17 EST 2014


I've always done

grep search_term ~/.bash_history
On Feb 10, 2014 4:36 PM, "tom" <thomas.w.cranston at gmail.com> wrote:

> Is there a way to search command history for a particular item? For
> example I would like to see every instance I used apt-get without having
> to arrow up or down thru the entire history.
>
> Tom
> _______________________________________________
> colug-432 mailing list
> colug-432 at colug.net
> http://lists.colug.net/mailman/listinfo/colug-432
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20140211/6b092465/attachment.html 


More information about the colug-432 mailing list