tmux(0)

Prerequisite:

  • Have a basic understanding of the linux command line
  • Install tmux

Goal:

  • Learn what tmux is
  • Get a quick feel of tmux

Tmux...?

If you are anything like me then you probably have about >= 5 terminal windows open on your computer when working, And you have a hard time navigating through those terminal (windows) and keeping track of them.

tmux is a terminal multiplexer that helps creates and keep track of termianls from a single screen and does alot more than that, it makes multitasking much easier.

Using Tmux:

For now, the major focus is to get acquainted with tmux as qucikly as possible before understanding the way it works.

  • Open your terminal and type tmux if available should open a default window like the pics below.

tmux0_a.png

  • Press ctrl + b and key at the same time and then release it and then shift + "

This split the screen into two top and bottom, the splitted screens are called pane. tmux0_a.png

  • To navigate between the splitted screen ctrl + b which open the prefix then o key

keywords in tmux

  • window
  • pane
  • sessions
  • server
  • client
  • prefix

// will talk more on this on the next article

tmux source code