tmux Tutorial

A very useful tool.

Create new session:

tmux new -s radu-root
tmux new -s radu-sqlplus
tmux new -s radu-work

To dissconect from a session you are already in, I use Ctrl+b followed by pressing the d key.

To re-attach to a session and continue where you left you need to figure out which session you want to attach to first. List the currently running sessions by using

# tmux ls
import: 1 windows (created Wed Feb 15 08:49:22 2023) [210x45] (attached)

To re-attach the session called import:

# tmux attach -t import

Leave a Reply

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

%d bloggers like this: