Wednesday, April 18, 2018

An introduction to Tmux (terminal multiplexer)

Tmux is a terminal multiplexer: it’s like a power-up for terminal programming. You can manage several terminals under a session, split terminal screens, detach and re-attach sessions and much more. If you do most of your programming at the command line, you’ll find using a terminal multiplexer invaluable.


Tmux Panes


Find more details here:
https://www.perl.com/article/an-introduction-to-tmux/

Tips:

When you open lots of terminal window it is very useful to be able to rename the Window. the default window name is big and hard to read.









Syntax :

bind-key , command-prompt -I #W "rename-window '%%'" 

E.g Ctrl +B    then comma(,)


List all the available session: 

$ tmux list-sessions                   



Kill session:

tmux kill-session -t 3



No comments:

Post a Comment

5 Strategies for Getting More Work Done in Less Time

Summary.    You’ve got more to do than could possibly get done with your current work style. You’ve prioritized. You’ve planned. You’ve dele...