centos7.6開機時候執行腳本

簡單的一個shell腳本web [root@test173 ~]#cat /root/bb.sh #!/bin/bash touch /mnt/1.txt echo ‘aaaa’ > /mnt/2.txtshell 網上都說修改這個 /etc/rc.local就行,實際上修改 /etc/rc.local等於修改/etc/rc.d/rc.local這個文件bash [root@test173 ~]#
相關文章
相關標籤/搜索