命令后台+挂起等于关闭终端也能够运行

使用nohup命令和命令后面加&
例子:
nohup tail -f t.txt &>/dev/null &

posted @ 2021-11-04 23:46  Myuniverse  阅读(36)  评论(0编辑  收藏  举报