3

tmux 终端命令

 3 years ago
source link: https://www.80shihua.com/archives/2717
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
tmux 终端命令

tmux 终端命令

tmux是终端多路复用器。它使您可以轻松地在一个终端中的多个程序之间切换,分离它们(它们在后台继续运行),然后将它们重新连接到另一个终端。

  • 创建新的session

    tmux new -s name
  • 显示全部session

    tmux ls
  • 切换session

    Ctrl+b s
  • 退出session

    ctrl+b  d
  • 关闭session

    ctrl +d
  • 创建新的窗口

    tmux new-window
    Ctrl+b c
  • Ctrl+b p
    Ctrl+b n
    Ctrl+b <number>
    Ctrl+b w
  • 重命名窗口

    tmux rename-window <new-name>
    Ctrl+b ,
  • Ctrl+b % 
    Ctrl+b "
  • Ctrl+b o
  • Ctrl+b x
  • 窗格全屏切换

    Ctrl+b z
  • 进入翻页模式

    Ctrl+b [
  • 退出翻页模式

    q

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK