cat /etc/rc.local su - jk -c "nohup /bin/sh /home/jk/houtai.sh >> /home/jk/nohup.out 2>&1 &" 转载于:https://www.cnblogs.com/lp19910807/p/10593591.html