Published on

Create a new Tmux Window

Create a new Tmux Window

Tmux is one of the most useful tool when it comes to using a linux terminal.

Tmux is a terminal multiplexer, it allows a user to access multiple terminals (or windows), each running a separate program, while providing a single screen to work on. Tmux is useful for running more than one command-line program at the same time, increasing productivity and the way you work.

Let's look at how to create a new tmux window.

Create a new tmux window

Creating a new tmux window inside a session is easy, you just have to use the following keyboard shortcut-

Prefix + c

By default the prefix is Ctrl-B, so to switch to previous window you can run the following command-

Ctrl-B + c

Note: You have to be inside a session. If you are outside a session, then attach to a session that you want to open, and then run the above keyboard shortcuts.

You can also rename the window, which will help you to identify windows by human-readable names.

I hope this tutorial for creating a new tmux window was useful. You can also check out the complete tmux cheatsheet of keyboard shortcuts and mouse shortcuts.