-
-
Notifications
You must be signed in to change notification settings - Fork 2
Linux tmux Guide
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to tmux on Linux, covering Arch Linux, CachyOS, and other distributions including terminal multiplexing, session management, and window panes.
Arch/CachyOS:
# Install tmux
sudo pacman -S tmuxDebian/Ubuntu:
sudo apt install tmuxFedora:
sudo dnf install tmuxBasic usage:
# Start tmux
tmux
# Opens new tmux sessionDetach:
# Detach session
# Press: Ctrl+B then D
# Session continues runningShow sessions:
# List sessions
tmux ls
# Shows all tmux sessionsReconnect:
# Reattach session
tmux attach
# Or
tmux a
# Reconnects to sessionNew window:
# In tmux:
# Press: Ctrl+B then C
# Creates new windowSplit window:
# In tmux:
# Ctrl+B then % - Split vertically
# Ctrl+B then " - Split horizontallyCheck installation:
# Check tmux
which tmux
# Install if missing
sudo pacman -S tmuxThis guide covered tmux usage, terminal multiplexing, and session management for Arch Linux, CachyOS, and other distributions.
- screen Guide - Alternative multiplexer
- tmux and screen Guide - Combined guide
- Bash Scripting Guide - Scripting basics
-
tmux Documentation:
man tmux
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.