今天下午,看到可以在crontab使用@reboot来达到开机自启程序的效果:
在crontab编辑
#double文的指导: man --pager=cat 5 crontab | vim -R - ls /usr/share/man/man*/* | egrep cron # manual entry for crontab in section 5 # 或者man 5 crontab ,这里面就能看到 @reboot的解释了。 man 5 crontab 这里又涉及到man的知识点了,敲指令: man man
=分割线==
比如你想看和ssh有关的文档
参考:https://blog.csdn.net/qiuxin315/article/details/6799629



