tmux
Usage
tmux start tmux
tmux new -s <name> start tmux with <name>
tmux ls shows the list of sessions
tmux a # attach the detached-session
tmux a -t <name> attach the detached-session to <name>
tmux kill-session –t <name> kill the session <name>
tmux kill-server kill the tmux server
exit # end tmux session
CTRL+B
, then …
" horizontal split
% vertical split
x kill pane
o go to next pane
Version
tmux -V
Copy/Paste
CTRL+SHIFT+C
/ CTRL+SHIFT+V
Config @ ~/.tmux.conf
Install
# tmux
sudo apt-get install tmux
# tmux-next (an alternative ???)
sudo add-apt-repository ppa:pi-rho/dev
sudo apt-get update
sudo apt-get install tmux-next
# Rename tmux-next to tmux:
sudo mv /usr/bin/tmux-next /usr/bin/tmux