📌  相关文章
📜  如何在 linux ubuntu 或 centos 中启动时运行命令 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:23.210000             🧑  作者: Mango

代码示例1
sudo nano /etc/rc.local   ## add your command 
 #!/bin/bash     ## add this in head file and your any command
 sudo chmod +x /etc/rc.local  ##for change accses file
 sudo init 6    ## for reboot