mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 10:45:05 +01:00
New cheats on find
This commit is contained in:
parent
63bd132a9b
commit
9e1ea4fae4
@ -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 }'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user