ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • find
    Flower in my ops/Linux 2015. 5. 12. 18:04

    [find]

     

    #find [찾을 파일 위치] -name [찾을 파일 이름]

     

    찾을 파일 위치는

     

    / : 루트

     

    . : 현재 디렉토리와 하위디렉토리

     

    /디렉토리명 : 지정한 디렉토리

     

    ex) find / -name test.txt

     

    확장자가 같은 파일을 찾을 때는

     

    *.txt

     

    파일 이름이 같은 파일을 찾을 때는

     

    test.*

     

    'Flower in my ops > Linux' 카테고리의 다른 글

    파일비교  (0) 2015.06.01
    lftp로 백업/미러링 하기  (0) 2015.06.01
    iptalbes  (0) 2015.05.08
    tar 압축  (0) 2015.04.30
    grep  (0) 2015.04.30

    댓글

Designed by Tistory.