리눅스 설정 수집

Jmnote (토론 | 기여)님의 2012년 8월 24일 (금) 08:52 판 (→‎스크립트)
리눅스 설정 수집

1 스크립트

TODAY=`date +%Y%m%d`
ps -ef > ps_-ef.$HOSTNAME.$TODAY.txt
netstat -pan > netstat_-pan.$HOSTNAME.$TODAY.txt
grep bash /etc/passwd | cut -f1 -d: > bash_users.$HOSTNAME.$TODAY.txt

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}