![gnu linux](https://i-blog.csdnimg.cn/blog_migrate/f626252c4b65ac582a0aafa1270a36f3.png)
gnu linux
![image image](https://i-blog.csdnimg.cn/blog_migrate/933dcc896c2f60e1d620006306068eb6.png)
We’ve written about using GNU Screen to multitask in the Linux terminal in the past. GNU Screen is the granddaddy of these programs, but tmux and dvtm+dtach are other solutions you may prefer.
过去,我们已经写过关于在Linux终端中使用GNU Screen进行多任务的文章。 GNU Screen是这些程序的祖父,但是您可能更喜欢tmux和dvtm + dtach。
Tmux is an improved rewrite of GNU Screen. Dvtm is a console multiplexer inspired by tiling window managers, and dtach adds the ability to detach from and reattach to dvtm sessions.
Tmux是对GNU Screen的改进重写。 Dvtm是受控制台窗口管理器启发的控制台多路复用器,并且dtach增加了与dvtm会话分离和重新附加的功能。
Tmux (Tmux)
As a rewrite of GNU Screen, tmux offers a variety of improvements. Some of the most important include a client-server model, which allows you to connect to a tmux session from multiple locations, and a cleaner configuration file format. Check out tmux’s FAQ to discover a list of ways it differs from GNU Screen.
作为对GNU Screen的重写,tmux提供了许多改进。 其中最重要的一些包括客户端服务器模型,该模型可让您从多个位置连接到tmux会话,以及更简洁的配置文件格式。 查阅tmux的FAQ来发现它与GNU Screen不同的方式列表。
Use this command to install tmux on Ubuntu:
使用以下命令在Ubuntu上安装tmux:
sudo apt-get instal