티스토리 뷰
음 이건 Zonefile 내용이 많을시 한꺼번에 바꿀때 유용할듯 하다...
find ./ -name "*" -exec perl -pi -e 's/222.XXX.XXX.237/115.XX.XX.164/g' {} \;
find (절대경로) -name "*" -exec perl -pi -e 's/디카프리오/초진현/g' {} \;
[root@ELCAP-K21-RATELIMIT htb]# find ./ -name "*" -exec perl -pi -e 's/49.247.255/49.247.253/g' {} \;
Can't do inplace edit: ./ is not a regular file.
메세지는 안 좋게 뜨는데 다 바뀌어져 있음
'프로그램' 카테고리의 다른 글
특정데몬 체크 ? SNMP 데몬 체크하여 해당 데몬 시작하는 스크립트 (0) | 2015.06.12 |
---|---|
Bash Shell (Bourne-Again Shell) 배쉬셀 kldp 자료펌 (0) | 2015.06.12 |
python 기초 (0) | 2015.06.12 |
html comment (주석) (0) | 2015.06.11 |
html Headings (머릿말) (0) | 2015.06.11 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- centos8
- HAProxy
- SSL
- centOS7
- 리눅스
- IPSEC
- L2TP
- Apache
- softether
- ssh
- OpenVPN
- gitlab
- glusterfs
- 베이어다이나믹
- virtualbox
- GeoIP
- galera
- kvm
- cURL
- NGINX
- iptables
- 인증서
- WAF
- MySQL
- mariadb
- ntp
- yum
- mod_security
- pptp
- php
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함