Skip to content

Useful Linux commands

Pradyumna Joshi edited this page Jan 26, 2016 · 3 revisions

##Find all SUID files: $ find / -perm -4000 -print ##Find all SGID files: $ find / -perm -2000 -print $ find $DIRECTORY -perm /u=s,g=s

find largest file

$ find /usr -size +100M -printf "%s-%p\n"