Mémo find
Révision datée du 18 mai 2011 à 14:48 par Futex (discussion | contributions)
Recherche du setuid et setgid bit
Solaris
find / -local -type f \( -perm -4000 -o -perm -2000 \) -print
AIX
find / -type f \( -perm -4000 -o -perm -2000 \) -print
Linux
find / -local -type f \( -perm -4000 -o -perm -2000 \) -print
HP-UX
find / -local -type f \( -perm -4000 -o -perm -2000 \) -print
Lister les fichiers quit ont étés modifier dans les dernières 24 h
find . -mtime -1
Fichiers modifier de plus de 24 h
find . -mtime +1
-atime n accès au fichier.
-mtime n modification du fichier
-ctime n si l'inode a changer