nohup /opt/test/xunhaun.sh &> run.log &
[root@node1 /opt/test]# cat xunhaun.sh #!/bin/bash a=0 while true;do echo $a sleep 1 let a++ done