주 메뉴 열기

wwiki β

바뀜

리눅스

76 바이트 추가됨, 2022년 2월 13일 (일) 04:12
특정계정으로 명령어 실행
== find ==
파일 검색, depth를 지정하지 않으면 모든 하위 디렉토리를 포함한다.
$ find directory-location -group {group-name} -name {file-name}
퍼미션 검색
$ find . -perm -g=x -type f
파일검색 후 명령실행
$ find . -name "*.mp3" -exec ./test.sh {} \;
$ find . -type f -exec chmod o-w {} \;
* exclude path
find . -path ./misc -prune -o -name '*.txt' -print
서브 디렉토리 포함
$ find . -name "foo*"
 
==signal==
유닉스 계열 OS에서 프로세스간 통신이다.
편집
2,431