Scripting
Read More
Find all web pages that reference to www.example.com
find / -name ‘*html’ -print \ | xargs grep -l ‘www.example.com’ \ | less -Opages
A chronological documentation test project, nothing serious, really!
find / -name ‘*html’ -print \ | xargs grep -l ‘www.example.com’ \ | less -Opages
find /data/folder -type f -uid 400 -atime +2 -exec /bin/rm {} ; find /data/folder -type d -uid 400 -atime +2 | sort -r | /usr/bin/perl -e ‘foreach (<>) {chop; rmdir;