리눅스 n일 이내에 수정된 파일 찾기 > server

본문 바로가기
사이트 내 전체검색

server

리눅스 n일 이내에 수정된 파일 찾기

페이지 정보

작성자 서방님 댓글 0건 조회 173회 작성일 19-04-12 19:27

본문

수정일이 n일 이내인 파일 찾기

find 폴더 -type f -mtime -일수 -print

find 폴더 -type f -mtime -일수 -ls


[root@localhost]# find /var/log/httpd/ -type f -mtime -7 -print
/var/log/httpd/error_log-20190412
/var/log/httpd/error_log
[root@localhost]# find /var/log/httpd/ -type f -mtime -7 -ls
271564    8 -rw-r--r--   1 root     root         6321 Dec 29 12:31 /var/log/httpd/error_log-20190412
271565    8 -rw-r--r--   1 root     root         4245 Jan  2 19:53 /var/log/httpd/error_log

댓글목록

등록된 댓글이 없습니다.

회원로그인

접속자집계

오늘
24
어제
58
최대
1,347
전체
153,788
Latest Crypto Fear & Greed Index

그누보드5
Copyright © 서방님.kr All rights reserved.