打开一个 session,

$ tmux

 

脱离当前 session,

Ctrl + b,d

 

检查当前可用的 session,

$ tmux list-session
0: 1 windows (created Thu Apr  8 19:59:11 2021) [140x23]
1: 1 windows (created Thu Apr  8 19:59:51 2021) [140x23]
2: 1 windows (created Thu Apr  8 20:03:25 2021) [140x23]

 

attach 一个指定 session,(如果仅有一个 tmux session,则不用特别用 -t  指明)

$ tmux attach-session -t 2

 

(完)

 

相关文章:

  • 2021-07-13
  • 2021-06-23
  • 2021-10-21
  • 2021-09-02
  • 2021-07-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-21
  • 2021-05-15
  • 2021-09-25
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案