Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Grep search alias' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Grep search alias
Authored by: kerbaugh on Oct 09, '02 07:55:58AM
I created an alias to do a grep search of my history. The search is case insensitive and I call the alias hgrep. The tcsh code for the alias is:
alias hgrep 'history | grep -i "\!{:1}" | grep -v "[h ]grep"'


[ Reply to This | # ]