[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
原文地址:https://www.cnblogs.com/Answer1215/p/6690978.html