Linux添加開機自動執行的腳本

1、root權限編輯/etc/rc.d/rc.localshell   Shell代碼   su   cd /etc/rc.d/   vi rc.local   su cd /etc/rc.d/ vi rc.local   2、在這個文件加上你要執行的腳本,所有內容以下:   Shell代碼   #!/bin/sh   #   # This script will be executed *aft
相關文章
相關標籤/搜索