一 在root用户下操作

二 修改配置文件 /etc/rc.local

三添加要执行的命令

对文件加一些权限

[[email protected] ~]# chmod +x /etc/rc.local
[[email protected] ~]# chmod 755 /etc/rc.local

Contos7 Linux 开机执行cmd命令

相关文章:

  • 2021-10-09
  • 2021-10-03
  • 2021-11-09
  • 2022-12-23
  • 2022-03-01
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-05
  • 2021-11-30
  • 2021-12-06
  • 2021-12-28
  • 2022-02-14
  • 2022-02-27
相关资源
相似解决方案