Linux下增加自动执行的命令, (即windows下的批处理)的方法
/etc/rc.local
/etc/rc.sysinit
etc/rc.d/init.d
/home/.Xsession(登录后启动)
将要执行的命令放在以上几个文件中即可。