Table of Contents

Terminal Options

Main instructions on how to use Tmux

Tmux allows you to split your screen and run multiple commands on multiple panes and create separate windows

Start tmux by typing

 tmux

It might not be installed

Panes

command Option Result
ctrl+b % Split pane horizontally
ctrl+b Split pane vertically
ctrl+b arrow move to appropriate pane

To close pane go to the pane you want to close and then type exit

Windows

Windows are like multiple screens. You can see what window you are on by looking at the green bar and finding the *

command Option Result
ctrl+b c Creates a new window
ctrl+b name Move to window specified by default its a number
ctrl+b , Allows you to rename the window
ctrl+b & Kill the tmux session

to close window just type exit

Sessions

Sessions allow reattach to a session in case you loose connection you can still connect to it and what ever you where running is not lost. The process will not be terminated and will continue on the background

command Option Result
ctrl+b d This detaches from session and puts tmux into background
tmux ls to view your sessions running in the background
tmux attach -t name to attach to the named session
tmux rename session -t old_name new_name Renames a session
tmux new -s new_session_name Creates a new session with that name
tmux kill-session -t session_name Kills the named session