Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 숙이네보리빵
- 표준 입력
- 살롱드라방
- iftop
- 제주도맛집
- Shell Script
- bash
- history 로그 남기기
- 표준 출력
- memtester
- 몽상드애월
- 제주맛집
- stressapptest
- sysstat
- 사랑담은 해물
- 사랑담은해물
- bwm-ng
- bwm
- ipmiutil
- ipmi
- 복도새기
- 제주도
- Linux
- GCOV
- iperf
- 애월맛집
- ipmitool
- 표준 에러
- vnstat
- OS TEST
Archives
- Today
- Total
이런 세상..
[LINUX] find 본문
[LINUX] find 명령어 응용
[1] /(root)에서 파일 이름이 *.txt 인 파일 찾기
# find / -name "*.txt"
[2] *.txt 를 찾아 현재 디렉토리에 복사
# find / -type f -name *.jpg -exec cp {} . \;
[3] /test 디렉토리 내 100M 이상 파일 찾기
# find /test -type f -size +100000 -exec ls -alh {} \;
[4] 파일명에 "-LOG" 라는 파일 찾아 삭제
# find / -name "-LOG" -exec rm {} \;
[5] 현재 디렉토리에서 10일 이전에 업데이트된 파일 찾기
# find ./ -atime +10
[6] 현재 디렉토리에서 10일 이내 수정된 파일 찾기
# find ./ -mtime -10 -print
[7] 파일 권한이 644인 파일 찾기
# find / -perm 644 -print
[8] 심볼릭 링크 파일 찾기
# find . -type l
[8] 깨진 심볼릭 링크 파일만 찾기
# find -L . -type l -lname '*'
# find / -type l | (while read FN ; do test -e "$FN" || ls -ld "$FN"; done)
'> [IT] > >> Linux' 카테고리의 다른 글
[LINUX] dmesg 시간 일반 형식으로 변환 (0) | 2016.01.15 |
---|---|
[LINUX] 표준 입력/출력/에러 (0) | 2016.01.14 |
[LINUX] shell script 파일을 binary 파일로 암호화 (0) | 2016.01.14 |
[LINUX] proc (0) | 2016.01.14 |
[LINUX] iptables (0) | 2016.01.14 |
Comments