예를 들면 :
나는 모든 파일의 이름을 얻고 싶다.
start on startup
에서 /etc/init
.
아래 grep 명령을 시도 할 수 있습니다.
$ cd /etc/init
$ grep -l "start on startup" *
또는
단일 명령을 통해
$ grep -l "start on startup" /etc/init/*
부터 man grep
,
-l, --files-with-matches print only names of FILEs containing matches
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다