你如何做出逃脱的工作,以便&实际上是在后台运行第一个命令?
# foo param1 param2 >> run.out &; tail -f run.out
只需删除分号:
# foo param1 param2 >> run.out & tail -f run.out