[tmux] Manage terminal workspaces using session naming

It's a lot easier to manage your tmux session when they have sensible names. We'll cover:

  • How to create a new, named tmux session with tmux new -s
  • Rename an existing tmux session using tmux rename-session -t
  • Renaming sessions with C-b $
  • Listing sessions with C-b s
Ctrl b + $  //renaming
Ctrl + s // list all session

 

Renaming session outside tmux:

tmux rename-session -t 0 web-ui

 

New a session with a name:

tmux new -s backend

 

posted @ 2017-04-10 21:16  Zhentiw  阅读(252)  评论(0)    收藏  举报