Weblog entry #7 for nicc777
In general, excluding anything in a *bin* directory:
# find / -type f -ls | sort -k 7 -r -n | grep -v '/bin' | head
Then, to really only exclude executables:
# find / -type f -not -perm -g=x,-o=x -ls | sort -k 7 -r -n | headand obviously to check the largest executable files:
# find / -type f -perm -g=x,-o=x -ls | sort -k 7 -r -n | head
Have fun
Comments on this Entry
[ Send Message | View dkg's Scratchpad | View Weblogs ]
You can fix this (and use a shorter pipeline) if you change the expression to look like this:
# find / -type f ! -wholename '*/bin/*' -ls | sort -k 7 -r -n | head
[ Parent | Reply to this comment ]
===============================================
=== http://4j.blogspot.com/ ===
=== http://sourceforge.net/projects/lampas/ ===
===============================================
Joh 3:36
[ Parent | Reply to this comment ]