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

Install Microsoft .NET Core SDK

.NET Core Software Development Kit (SDK) is a set of libraries and tools that allow developers to create .NET Core applications and libraries.

Google Credential Provider for Windows: Notes

Google Credential Provider for Windows® (GCPW) lets users sign in to Windows® devices with the Google Account they use for work. GCPW provides users with a single sign-on experience to Google services and all the security features available with their Google Account.

IIS: Delete cached files on server running IIS

Delete cached files on server running IIS When changing css, javascript files, check to delete if IIS still caches old files in the default folder C:\inetpub\temp\IIS Temporary Compressed Files\<sitename>\$^_gzip_D^\ Apply to: IIS 8.5