tmux: rename session (3 ways)

tmux: rename session (3 ways)

  • 2020-2-12

Using Shortcut

prefix + $ rename current session

Using tmux comand

1
:rename-sessin [-t current-name] [new-name]

Using shell command

1
tmux rename-sessin [-t current-name] [new-name]

Note: The second way and the third way are actually the same.