본문 바로가기 메뉴 바로가기

IT BOX

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

IT BOX

검색하기 폼
  • 분류 전체보기 (53)
    • Linux(CentOS) (20)
      • * log (8)
      • * service (1)
      • * command (11)
      • * script (0)
    • Database (4)
      • * log (4)
    • Windows (1)
      • * log (0)
      • * service (1)
    • Python (22)
      • * 문법 (0)
      • * Django (21)
    • Network (6)
  • 방명록

Linux(CentOS)/* command (11)
find 명령어

- 파일 이름에 "test"가 들어간 파일 찾기 find / -name "test" -print - 특정 사용자(test) 소유의 파일 찾기 find / -user test -print | more - 최근 하루 동안 변경된 파일 찾기 find / -ctime -1 -a -type f | xargs ls -l | more\ b : 블록 특수 파일(block device) c : 캐릭터 특수 파일 (character deice) d : 디렉토리(directory) f : 일반파일(file) l : 심볼릭 링크(link) p : 파이프 (pipe) s : 소켓 (socket) - 오래된 파일(30일 이상 수정되지 않은 파일) 찾기 find / -mtime +30 print | more ※mtime : 파일내..

Linux(CentOS)/* command 2016. 1. 1. 00:00
이전 1 2 다음
이전 다음
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • 경험
TAG
more
«   2025/08   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바