Run Multiple Command Line Apps at once Using Tmux Terminal Multiplexer

preview_player
Показать описание
We've covered a lot of apps already, and this is only video fifteen. One problem we often run into is that command line apps want to fill the entire screen, and that makes it difficult to run more than one app at a time. Today we look at a way to get multitasking!

It'll make your remote sessions a LOT more efficient and productive, and you only need to remember just a few keyboard commands.

Discussed in the video:

Install Tmux: sudo apt install tmux

Creating Panes (or split):
ctrl-b then % (down the middle)
ctrl-b then " (Across)

Manipulating Panes:
Switch: Ctrl-b + arrow keys
Resize: Ctrl-b + : (colon) then resize-pan -U 5 (or -D, -R, -L)

Sessions:

list sessions: Tmux ls
Attach: tmux attach-session -t 1 (session number)

Not mentioned in video:
New named session: new -s "name of session"
Attach to named session: tmux a -t "name of session"

Рекомендации по теме
Комментарии
Автор

the best youtube tutorial on tmux i've seen great thx. it was very clear

JordyBayoCoding
Автор

thanx for the very nice info Brian ! the command line rules!!!! 73 from ON3LAW

marcschuyesmans
Автор

Multiples terminals Wimdows can be handled several ways, tmux, tiling terminals (terminators, terminology...) or using a tiling Window Manager.

thierrybo
Автор

now, we know how to become an "hekkar" (looks like) to another level instead only use cmatrix command with more terminal

ervankurniawan
Автор

OK so I'm to split my screen but neither of the command work, I have tmux installed and running as root, but it's not working.

dansmith