Linux開機自動執行腳本

把本身編寫的腳本必須放在/etc/rc.d/init.d/裏面web [root@173 init.d]# pwd /etc/rc.d/init.dshell [root@173 init.d]# cat test.sh #!/bin/bash #chkconfig: 2345 80 90 #description:開機自動啓動的腳本程序 echo ‘1111’ > /root/1.txt ech
相關文章
相關標籤/搜索