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

Microsoft Windows: Commonly Used Shortcuts

Windows shortcuts Shortcuts Description Windows + Up Arrow Maximize active window Windows + Down Arrow Restore active window Windows + Left Arrow Move active window to half left of screen Windows + Right Arrow Move active window to half right of screen Windows + A Open Notifications window Windows + C Open C ortana Windows + E Open Windows E xplorer Windows + F Open Windows' F eedback Hub Windows + I Open Windows Settings Windows + L L ock screenr Windows + M M inimize all active windows Windows + P Send screen to P rojector Windows + R Open R UN dialog Windows + Pause Open System Properties window Windows + SHIFT + S Open S creenClipping tool CTRL + SHIFT + ESC Open Task Manager

Take Free English Tests Online

Free online English tests EF Standard English Test https://www.efset.org/ Exam English https://www.examenglish.com/

MSSQL: Fix error 'Consistency validation for SQL Server registry keys'

While installing Microsof SQL Server 2012, I ran into the following error. "The SQL Server registry keys from a prior installation cannot be modified. To continue, see SQL Server Setup documentation about how to fix registry keys." How to fix Replace the D:\x64\FixSqlRegistryKey_x86.exe file with the original file from the ENU\SQLFULL_ENU.iso file downloading from Microsoft Download Center. This ISO file is 4.2GB. So you can click FixSqlRegistryKey_x86.exe to download this file only. After replacing that file, press Re-run to check. All rules are passed.