tmux is an open-source terminal multiplexer for Unix-like operating systems. It allows multiple terminal sessions to be accessed simultaneously in a single window. It is useful for running more than one command-line program at the same time. It can also be used to detach processes from their controlling terminals, allowing remote sessions to remain active without being visible.
What Is LinuxScreen? A LinuxScreen is a terminal application developed by the GNU project. Often official documentation calls it a GNU Screen and is used for terminal multiplexing. In other words, Screen divides a physical terminal into multiple virtual sessions, stops and summarizes the activity in them.
Linux作業系統最強大的地方就是有各種開源免費的軟體,很多軟體的功能你是想象不到的。在Linux中有一種終端多路複用軟體,比如screen和tmux,其中tmux使用最為廣泛。
tmux下面的內容來自維基百科。看看最後一句話,他的意思是執行終端斷開的情況下,程式仍然在後臺執行。而且當我們重新連線的時候有可以看到這個執行的程式。
tmux is an open-source terminal multiplexer for Unix-like operating systems. It allows multiple terminal sessions to be accessed simultaneously in a single window. It is useful for running more than one command-line program at the same time. It can also be used to detach processes from their controlling terminals, allowing remote sessions to remain active without being visible.
不僅僅可以遠端的執行程式,tmux還可以將一個窗體分割為幾個部分,讓多個部分同時展示給我們,避免了視窗切換影響效率。
screenscreen是一個與tmux類似的軟體,功能要稍微弱一點,但是完全可以滿足你的要求。下面是對這個程式的介紹。
What Is Linux Screen? A Linux Screen is a terminal application developed by the GNU project. Often official documentation calls it a GNU Screen and is used for terminal multiplexing. In other words, Screen divides a physical terminal into multiple virtual sessions, stops and summarizes the activity in them.
所以,上面兩個軟體都可以滿足你的要求。