$ tmux

$ tmux new

$ tmux new-session

: new

Start a new session

$ tmux new -s mysession

: new -s mysession

Start a new session with the name mysession

$ tmux kill-ses -t mysession

$ tmux kill-session -t mysession

kill/delete session mysession

$ tmux kill-session -a

kill/delete all sessions but the current

$ tmux kill-session -a -t mysession

kill/delete all sessions but mysession

Ctrl + b $

Rename session

Ctrl + b d

Detach from session

: attach -d

Detach others on the session (Maximize window by detach other clients)