mx's grotto v7.3.3

2002/12/2

find and grep for text in /*

Filed under: Technology Review — m1bxd @ Dec 02, 02 | 5:15 pm

find . -name * -print | xargs grep “Then fax it to”
or
find . -name ‘*’ -print | xargs grep “development”

List file
find . -name * | xargs grep -l “secure.sal”
or for awkward specials use the single quotes eg:
find . -name * | xargs grep -l ‘$’

Disk space used
du scr /usr/local/home/httpd/vhtdocs | sort -n

No Comments »

*
To prove that you're not a bot, enter this code
Anti-Spam Image

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress