Linux 开机自动执行程序

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

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

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