Thursday, August 19, 2010

TIPS & TRICKS: Use for grep

I'm not going to remember this one, so here it is:

grep username /var/aliases

It's a tool I could have used in the office awhile back, but glad that I have it now.

Update 4/9/2012:

another one:

grep searchterm /var/home/role/hostmast/new-raddb/vpn-users

No comments: