TOOL ยป TMUX

Manage

Commands to manage sessions โ€‹

shell
## These commands can be run inside tmux in command mode without 'tmux'
tmux new
tmux new -s sessionname
tmux new-session -c ~/Projects
tmux rename-session -t 0 sessionname
tmux new-window
tmux ls
tmux attach -t 0
tmux attach -c ~/Projects

tmux kill-session -t 0
tmux kill-server

tmux split-window -v
tmux split-window -h
tmux send-keys 'bash_command' Enter

Detaching โ€‹

shell
Prefix + d

Fixing issues โ€‹

shell
tmux -2  # Force tmux to assume the terminal supports 256 colours
tmux -u  # Fix issues with unicode