New cheats on find

This commit is contained in:
Özgür Özdemircili 2013-08-30 12:16:39 +02:00
parent 63bd132a9b
commit 9e1ea4fae4

View file

@ -12,3 +12,7 @@ find . -type f -perm 777
# To find files with setuid bit set:
find . -xdev \( -perm -4000 \) -type f -print0 | xargs -0 ls -l
# To find files bigger thank 2 MB and list them:
find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'