Linux 开机自动执行程序

在/etc/rc.local中添加命令,开机时以root权限运行

在~/.profile中添加命令,开机时以登陆用户权限运行

posted @ 2017-01-22 18:13  vwirtveurit  阅读(292)  评论(0)    收藏  举报