Skip to main content

tmux

· One min read
luke
luke

前言

在Linux上前台执行某些程序时候,如果连接断开,程序也同时会停止运行,如果使用tmux复用器,可以有效避免此问题,还可以随时离开

创建

tmux new -s session

进入

tmux attach -t session

退出

#不结束
Ctrl+B D
#结束
Ctrl+D