Cheat Sheet for Tmux – [A Complete List]

Tmux: The term Tmux stands for a terminal multiplexer that enables a number of terminals to be created, accessed, and controlled from a single screen. It is an open-source multiplexer for Unix-like operating systems. By using this software, you can run more than one command-line program at the same time. Each pane of the Tmux is containing its own command line that allows you to run the terminal instance.

The features of Tmux, have automatic window renaming, while the screen lacks this feature.

In this article, you will learn Cheat Sheet for Tmux. Use these shortcuts to save your working time.

Tmux
Tmux

Last Updated on Mar 3, 2022.

Basic Commands

In the below table, you will learn the commands and their functions of Tmux. Please use these commands carefully.

Command Function
tmux This command is used to start the tmux.
tmux a Make use of this command to attach the session.
Prefix, ? Use this command to show the shortcuts.
Prefix, :sourc­e-file ~/.tmu­x.conf It is used to reload the config.

Pane Commands:

In the below table, you will learn the commands and their functions of Tmux. Please use these commands carefully.

Command Function
Prefix, “ This command is used to split the window.
Prefix, <Sp­ace> If you want to change the pane arrangement, you can use this command.
Prefix, o It is used to rotate the panes.
Prefix, <h/­j/k­/l> Make use of this command to navigate the panes.
Prefix, ; Use this command to go to the last pane.

Windows Commands:

The below table explains the commands and their functions of Tmux. Please use these commands carefully.

Command Function
Prefix, c If you want to create a window, you can use this command.
Prefix, n This command is used to go to the next window.
Prefix, p It is used to go to the previous window.
Prefix, [0-9] By using this command, you can move to the window.
Prefix, &
t
Used to kill the window.

Verdict:

You can use these commands for both Windows 10 and Windows 11. Make sure to use these shortcuts properly.

From this article, you will learn Cheat Sheet for Tmux. Thank you for reading this article. I hope this article is helpful!. If you have any questions or doubts regarding this article, please share with us in the comment section.

Read More:

Leave a Comment