Ubuntu 在終端關閉狀況下仍然運行進程

參考:

讓Linux關閉終端(關閉SSH等)後,程序繼續運行ubuntu

Ubuntu 在終端關閉狀況下仍然運行進程

在 Ubuntu 16.04 系統下使用 screen 命令在終端關閉狀況下仍然運行進程。具體命令以下:.net

sudo apt install screen
screen // 回車進入子界面
// 執行命令
// 按 ctrl+a+d 回到主界面
screen -ls // 查看子界面
screen –r [子頁面序號] // 回到子界面

2019.5code

相關文章
相關標籤/搜索