일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Kernel
- PERL
- Cache
- rm
- apachetop
- Linux
- Disk
- http
- CPU
- Python
- DNS
- iptables
- Hack
- ext3
- rm -rf
- 쇼펜의상속자 #킨텍스메가쇼 #섬유향수탈취제
- windows
- 솔라리스
- cadre
- goaccess
- ext4
- 칭찬교육
- 리눅스
- Bash
- 좌절교육
- PORT
- Performance
- pid
- 디스크
- rsync
- Today
- Total
목록리눅스 (93)
Ben's
BASENAME(1) User Commands BASENAME(1) NAME basename - strip directory and suffix from filenames [root@mpkangTest html]# basename /home/apache/bin/apachectl apachectl 유용하네요 ㅎ
[데몬별 리버스 DNS off 방법] /etc/ssh/sshd_config UseDNS no HostnameLookups Off [mysqld] skip-name-resolve 하고 각 데몬을 재시작 시켜주면 됨. ================================ 네임서버에 리버스 요청이 상위에 보이지 않다가 갑자기 보여 조사를 해보니 며칠전 만들었던 테스트 서버(192.168.30.11)에서 발생하는 거였다 mysql replication slave 쪽(192.168.30.12, 192.168.30.13) ip를 recursive dns 쪽에 엄청나게 물어보고 있다. 상위 1,2 번째 한다. [테스트 서버] 11:06:42.040621 IP (tos 0x0, ttl 64, id 65216, o..
--no-preserve-root do not treat '/' specially (the default) --preserve-root fail to operate recursively on '/' -------------------------------------------------------------------------- [root@zenoss ~]# /bin/rm -rf --preserve-root / /bin/rm: it is dangerous to operate recursively on `/' /bin/rm: use --no-preserve-root to override this failsafe
--strip-trailing-slashes remove any trailing slashes from each SOURCE argument ================================================ ★ --strip-trailing-slashes 옵션 미사용시: txt를 디렉토리로 인식하여 링크 걸린 /하위 파일들을 /home/test1 아래로 move 시켜버림(심각한 문제 발생!!) [root@pdns-test03 test]# mkdir /home/test1 [root@pdns-test03 test]# pwd /root/test [root@pdns-test03 test]# ls txt@ [root@pdns-test03 test]# mv -v txt/ /home/test1 ..
http://www.thegeekstuff.com/2013/02/wc-nl-examples/ How to Count Number of Lines in a File in Linux (wc and nl Command Examples) Linux commands wc and nl will help you to identify the number of words, lines, bytes, etc, in a file. This tutorial explains how to use these two very useful command with various examples. The basic text file that will be used in examples throughout this article is sho..
삭제된 파일을 휴지통으로 넣어버리는 툴입니다. 기본 기능은 아래와 같고 삭제된 파일이 모이는 곳을 용량이 넉넉한 쪽의 특정 경로로 가게 하는 부분은 연구를 좀 더 해봐야 합니다. 참고링크 http://code.google.com/p/trash-cli/wiki/Download http://katselphrime.wo.tc/2013/03/12/trash-cli/ http://www.gnutoolbox.com/trashcli/ * INSTALL 1. python2.5 이상 설치 필요 2. trash-cli 을 설치하기 위한 easy_install-2.5 스크립트 추출 [root@zenoss trash-cli-0.11.3-r315]# /usr/local/python2.5/bin/python ./setup.py ..
http://extundelete.sourceforge.net/
#!/bin/bash # # created by nhko 090612 # version 0.3 ############################################################# # ** 추가된 기능 ** ############################################################# # 프로그램 중복실행 체크 # 백업 디스크 유무 체크 # rsync 패스 자동검색 # 프로그램 실행 전 check_disk.pl 수행 # 백업 파일명 수정 # source 를 /home/download 전체로 지정. # 원하는 파일은 찾는 시간보다 한시간 후를 기준으로 해야 한다. ################################################..