This cheat sheet provides a quick overview of tmux
commands, enabling you to manage terminal sessions effectively and boost your productivity. tmux
, short for terminal multiplexer, is a valuable tool for running and managing multiple terminal sessions within a single terminal window or remote shell. This guide covers session management, window management, pane management, and other miscellaneous commands to aid in effective tmux
utilization.
A tmux
session is an independent workspace that houses one or multiple windows. Users or shell scripts create sessions, and each session maintains its state independently. They are useful for organizing terminal activities, especially in remote shell scenarios where a dropped connection can disrupt your work. In such a case, tmux
sessions remain alive, and you can reattach to them later.
Action | Command |
---|