Skip to main content

tmux - Terminal Muliplexer

tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.

Debian, Ubuntu
# apt install tmux
Fedora, CentOS
# yum install tmux

MUST remember CTRL+b (aka tmux prefix)

tmux Cheat Sheet

tmux new -s <name> : Create a new tmux session with <name>
tmux attach -t <name>
tmux ls : List all tmux sessions
tmux kill-session -t <name> : Kill session with <name>
CTRL+b+d: Detach current tmux session (exit without closing session)
CTRL+b+s: Swap session
CTRL+b+": Split horizontally (up and down panes)
CTRL+b+%: Split vertically (left and right panes)

CTRL+b+SHIFT+$ : Change the current tmux session's name

Turn on mouse scroll: CTRL+b, then : , then set -g mouse on

$ echo "set -g mouse on" >> ~/.tmux.conf

Free courses to learn tmux

REmux The Tmux | TryHackMe

Popular posts from this blog

Windows 10 1903 Critical Error: Your Start menu isn't working

Windows 10 1903 Critical Error: Your Start menu isn't working. We'll try to fix it the next time you sign in.

Office 365: Alert Policies - Creation of forwarding/redirect rule

The default Creation of forwarding/redirect rule alert policy will be triggered when end-users create rule to forward or redirect mail

Powershell: Install Windows Feature - .NET Framework 3.5

Check if .NET Framework is installed. Get-WindowFeature *net* Install-WindowsFeature NET-Framework-Features