Terminology
First of all, you need to know a few terms before you learn how to use them.
- Prefix: This is the key combination that must be entered before entering the shortcut key. The default prefix for tmux is
ctrl + b. If the shortcut iscthen you need to type<ctrl + b> + c. - Session: The largest unit managed by tmux. “attach/detach” to the session. Even if you detach from the session, the session continues to run in the background.
- Window: This is the same tab that exists in the session. You can have multiple windows in one session. You can create and switch windows within a session and switch the entire screen as you move tabs.
- Pane: This is the screen unit existing in the window. You can have multiple panes in a window. If you divide the entire screen vertically by two, two panes are created.