Sticky bit 가 있는 파일만을 골라서 8진수 형태로 출력해보자.
$ find / -xdev -user root -type f \( -perm -04000 -o -perm -02000 \) -exec stat -c "%a %n" {} \;
Purewell's Personal Blog
$ find / -xdev -user root -type f \( -perm -04000 -o -perm -02000 \) -exec stat -c "%a %n" {} \;
댓글
댓글 쓰기