nohup

[root@Nginx_Master ~]# nohup /etc/nginx_check.sh &
[1] 5789
[root@Nginx_Master ~]# ls
anaconda-ks.cfg  install.log  install.log.syslog  nohup.out
[root@Nginx_Master ~]# tailf nohup.out 
++ wc -l
+ nginxpid=3
+ '[' 3 -eq 0 ']'
+ sleep 3
+ :
#nohup 不会随着终端的端开,而结束程序。

 

posted @ 2016-06-29 17:38  bass  阅读(692)  评论(0编辑  收藏  举报