2012년 7월 22일 일요일

linux 명령어


1. tar
-- 압축하기
tar -zcvf 압축파일명.tar.gz
-- 압축풀기
gzip -d 압축파일명.tar.gz
tar -xvf 압축파일명.tar


2. chkconfig

-- list 보기
chkconfig --list
chkconfig --list dhcpd

-- on/off
chkconfig --level 123456 nfs on
chkconfig --level 123456 nfs off

※ level 별 on/off ( 123456은 boot level)

댓글 없음: