'mode'에 해당하는 글 1건

find / -type f \( -perm -2 -o -perm -20 \) -exec ls -lg {} \;

find 옵션중.

-perm mode
File's permission bits are exactly mode (octal or symbolic). Since an exact match is
required, if you want to use this form for symbolic modes, you may have to specify a rather
complex mode string. For example '-perm g=w' will only match files which have mode 0020
(that is, ones for which group write permission is the only permission set). It is more
likely that you will want to use the '/' or '-' forms, for example '-perm -g=w', which
matches any file with group write permission. See the EXAMPLES section for some illustra-
tive examples.


ls 옵션중

       -l     use a long listing format

       -g     like -l, but do not list owner


저작자 표시 비영리 동일 조건 변경 허락

유용했던 자료를 기록해 두었습니다. 도움이 되시길~~~ Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you fun

받은 트랙백이 없고 , 댓글이 없습니다.