리눅스 파일 찾기

Jmnote (토론 | 기여)님의 2014년 1월 3일 (금) 00:49 판
리눅스에서 파일 찾기
리눅스 파일 찾기

1 전체 폴더에서 찾기

명령어
find / -name 파일명
find / -name "파일명"
실행예시
[root@jmnote ~]# find / -name "*.php"
/var/www/html/index.php
/root/a.php
/tmp/c.php

2 현재 폴더(+하위폴더)에서 찾기

find ./ -name 파일명
find ./ -name "파일명"

3 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}