336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
[root@localhost ~]# head -5 /etc/rc.d/init.d/sshd
#!/bin/bash
#
# sshd		Start up the OpenSSH server daemon
#
# chkconfig: 2345 55 25
[root@localhost ~]# head -5 /etc/rc.d/init.d/sshd > /etc/rc.d/init.d/test-deamon
[root@localhost ~]# gedit /etc/rc.d/init.d/test-deamon 
[root@localhost ~]# cat /etc/rc.d/init.d/test-deamon
#!/bin/bash
#
# test-deamon		Start up the test server daemon
#
# chkconfig: 35 77 35
[root@localhost ~]# ls -l /etc/rc.d/rc*.d/*test-deamon
ls: cannot access /etc/rc.d/rc*.d/*test-deamon: No such file or directory
[root@localhost ~]# chkconfig --add test-deamon
[root@localhost ~]# chkconfig --list test-deamon
test-deamon    	0:off	1:off	2:off	3:on	4:off	5:on	6:off
[root@localhost ~]# 


'In centum city > (RedHat) Linux' 카테고리의 다른 글

user controlling  (0) 2015.10.06
regular expression  (0) 2015.10.06
PV, LV, VG  (0) 2015.10.06
creating RAID volume  (0) 2015.10.06
4일  (0) 2015.10.06
Posted by af334