Tmux

Lets you switch easily between several programs in one terminal.

Installation

sudo apt install tmux

Usage

tmux

Flags

usage: tmux [-2CluvV] [-c shell-command] [-f file] [-L socket-name]
            [-S socket-path] [command [flags]]

Examples

Start tmux

tmux

Detach tmux session

ctrl + b; d

Attach tmux session

tmux attach -t <name-or-id>

List running tmux

tmux ls

Run command without entering tmux session

tmux new-session -d -s "<session-name>" "command-to-run"

Example

URL List