rename 


[root@localhost tmp]# ll

total 12

-rw-r--r--. 1 root root    0 Sep  3 11:28 test1

-rw-r--r--. 1 root root    0 Sep  3 11:28 test2

-rw-r--r--. 1 root root    0 Sep  3 11:28 test3

-rw-r--r--. 1 root root    0 Sep  3 11:28 test4

-rw-r--r--. 1 root root    0 Sep  3 11:28 test5

-rw-r--r--. 1 root root   16 Sep  3 10:44 test.txt

[root@localhost tmp]# rename test sadong ./*

[root@localhost tmp]# ll

total 12
-rw-r--r--. 1 root root    0 Sep  3 11:28 sadong1

-rw-r--r--. 1 root root    0 Sep  3 11:28 sadong2

-rw-r--r--. 1 root root    0 Sep  3 11:28 sadong3

-rw-r--r--. 1 root root    0 Sep  3 11:28 sadong4

-rw-r--r--. 1 root root    0 Sep  3 11:28 sadong5

-rw-r--r--. 1 root root   16 Sep  3 10:44 sadong.txt

'job > linux' 카테고리의 다른 글

lime 포렌식  (0) 2018.09.03
yum 에러날경우  (0) 2018.09.03
unauthenticated user  (0) 2018.09.03
centos 4점대 yum repo  (0) 2018.09.03
libmcrypt-2.5.7  (0) 2018.09.03

[root@localhost tmp]# cat test.txt 

aa1bb2cc3dd4ee5

[root@localhost tmp]# cat test.txt | awk -F '1||2' '{print $2}'

bb




특정 기호 사이에 있는 글자 빼오기 좋음

unauthenticated user 겁나 많을때


web db 서버 나눠서 사용하는 경우에 


web서버에서 db서버로 resolving 요청하는데 정상적으로 대답이 안되면 커넥션을 유지한다. 그래서 느려짐


[mysqld]

...

skip-name-resolve

skip-host-cache 


해결

'job > linux' 카테고리의 다른 글

yum 에러날경우  (0) 2018.09.03
쓸만한 리눅스 명령어  (0) 2018.09.03
centos 4점대 yum repo  (0) 2018.09.03
libmcrypt-2.5.7  (0) 2018.09.03
no more recursive clients: quota reached  (0) 2018.09.03

+ Recent posts