Friday, June 03, 2005

Quick script to search files in unix

for i in `find /opt/procmgr65`
do
echo $i
grep Nobody $i
done

Just replace /opt/procmgr65 with the directory you want to search. You can put this all on one line too.

No comments:

Labels

Blog Archive

Contributors