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

Java: Free Online Courses

The Java™ Tutorials by Oracle The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications. They include hundreds of complete, working examples, and dozens of lessons. Groups of related lessons are organized into "trails". https://docs.oracle.com/javase/tutorial/ Learn to Program in Java at edX.ogr Get started on the path to becoming a software engineer by learning core coding skills in Java—one of the most popular programming languages. https://www.edx.org/course/learn-to-program-in-java-0 Java Tutorial by javapoint.com https://www.javatpoint.com/java-tutorial Java Tutorial by SoloLearn.com I love SoloLearn because I can learn Java - and other popular programming languages - anywhere, any time on your mobile devices. https://www.sololearn.com/Course/Java/ Java on Azure https://docs.microsoft.com/en-us/learn/paths/java-on-azure/

Less secure app access in gmail or G Suite

From G Suite Update on December 16, 2019 Google turned off less secure app access to G Suite accounts .