招不在多,一招够用就行:
nohup command >logfilename.log 2>&1& example: nohup sh run_pascal.sh >baseline.log 2>&1&