将前台任务放到后台运行
nohup rsync -rp --rsh=ssh /data/test/bi_270000_original_images glodon@192.168.8.195:/data02/cv_data/
nohup: ignoring input and appending output to `nohup.out'
glodon@192.168.8.195's password:
先curl+z 将任务停止
^Z
[1]+ Stopped nohup rsync -rp --rsh=ssh /data/test/bi_270000_original_images glodon@192.168.8.195:/data02/cv_data/
停止的时候 stop是1
用bg 1将他放到后台来运行
[gaof-j@ops-8-153 ~]$ bg 1
[1]+ nohup rsync -rp --rsh=ssh /data/test/bi_270000_original_images glodon@192.168.8.195:/data02/cv_data/ &