现在的位置: 首页 > 综合 > 正文

关于Linux系统开机启动脚本

2013年01月11日 ⁄ 综合 ⁄ 共 132字 ⁄ 字号 评论关闭

1、Linux Server autorun script

 

#vi /etc/rc.local  (root用户)

 

2、以其他用户的身份运行命令

 

su - omimg  - c 'export'

以omimg用户运行- c后面的export命令(其中export可以替换为其他全路径命令)

抱歉!评论已关闭.