The best window manager without X
tmux starts a new sessiontmux ls show the already started sessionstmux attach -t 2 attach to session 2Ctrl-b d detaches from the running sessionCtrl-b c open a new terminalCtrl-b n go to the next terminalCtrl-b p go to the previous terminalCtrl-b , rename terminalCtrl-b w shows terminal listCtrl-b f searching between terminalsCtrl-b : switch to command modeCtrl-b & closes the actual terminalCtrl-b % horizontal splitCtrl-b " vertical splitCtrl-b o jump to the next windowCtrl-b { move window to the leftCtrl-b } move windows to the rightCtrl-b q show window numbers - and then press the numberCtrl-b x closes the actual windowctrl-b : (mind the colon) opens a command line at the bottom, then write:resize-pane -D resizes the current pane downresize-pane -U resizes the current pane upwardresize-pane -L resizes the current pane leftresize-pane -R resizes the current pane rightresize-pane -D 20 resizes the current pane down by 20 cellsresize-pane -U 20 resizes the current pane upward by 20 cellsresize-pane -L 20 resizes the current pane left by 20 cellsresize-pane -R 20 resizes the current pane right by 20 cellsresize-pane -t 2 20 resizes the pane with the id of 2 down by 20 cellsresize-pane -t -L 20 resizes the pane with the id of 2 left by 20 cells
sources:
http://www.root.cz/clanky/okna-v-terminalu-pomoci-tmux/
https://gist.github.com/MohamedAlaa/2961058
https://robots.thoughtbot.com/a-tmux-crash-course
- HOME
~~~~~~~~~~~~~~~
- OpenBSD
- NetBSD
- FreeBSD
- Linux
- Solaris
- Windows
~~~~~~~~~~~~~~~
- Git
- Ansible
- Atlassian
- Network tools
- Qemu
- Virtualbox
- Vim
- Tmux
- Mutt
- STar
~~~~~~~~~~~~~~~
- MySQL
- PostgreSQL
- Postfix
- OpenSSL
- tcpdump
- SSH
~~~~~~~~~~~~~~~
- Packet Filter
- IP Filter
~~~~~~~~~~~~~~~
- Bash
- web-dev
- Hacking
- LINUX DAYS