如何运行一个命令nohup,使两者的输出和错误保存到nohup.out?默认情况下,仅保存stdout并丢弃stderr.
nohup
nohup.out
bash shell stdout nohup stderr
bash ×1
nohup ×1
shell ×1
stderr ×1
stdout ×1