Linux multi terminal

Beside screen you can consider tmux

Install tmux

sudo apt install tmux

Basic command

# Tmux: session -> windows -> panes

# New session
tmux

# Inside current session
## Create another session
Ctrl + B + :new<CR>
## View and select session on list
Ctrl + B + s

# Kill session (can not attach anymore)
Ctrl + D

# Detach session (can be attach again)
Ctrl + B + D

# Attach session
tmux a
tmux a -t sessionId

# View list of session
tmux ls

tmux cheatsheet

Leave a Reply

Your email address will not be published.Required fields are marked *