08 2019 档案

linux 重定向输出
摘要:cat file 2>&1 > newFile file 为源输出 newFile 为重定向后的输出 如 cat file.txt 2>&1 > mylie.log nohup ./command.sh > output 2>&1 & 阅读全文

posted @ 2019-08-05 17:20 cococooder 阅读(244) 评论(0) 推荐(0)

ubuntu 16.04 通过cron 开设置开机启动脚本
摘要:在/etc/cron.d/下面建立一下文件(不需要执行权限) SHELL=/bin/shPATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin@reboot root sleep 3@reboot root /home/pa 阅读全文

posted @ 2019-08-05 15:58 cococooder 阅读(655) 评论(0) 推荐(0)