What is tmux?
I love working with the command line. I think there’s hardly any more productive and versatile tool for a software developer than the terminal. The additional hacker, wizard, neckbeard kind of feeling you get when using a terminal comes for free, what’s not to love?
Over the years I’ve tried to streamline and customize my command line experience to be more convenient, more fun to use or just to look rad. One of the most important tools to drive my daily command line experience is tmux. Tmux is a terminal multiplexer, It enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.
- pkg update
- pkg upgrade
- pkg install tmux
- tmux
If you want to use this command than first you need to type CTRL + b after than the Command.
Command | Description |
---|---|
% | Vertical Split |
" | Horizontal split |
z | Full screen mode for current pan |
o | Go to next pane |
X | Kill pane |
This are the command commonly use there are more advance thing which I will covering in the part 2. Here are some of the extra command which will be useful
Command | Description |
---|---|
tmux | Start tmux |
tmux new -s "name" | Start tmux with "name" |
tmux ls | Show the list of session |
tmux kill-session -t "name | Kill the session "name" |
tmux kill-server | Stop the program |
Conclusion; In this tutorial, you learned how to use Tmux. Now you can start creating multiple Tmux windows in a single session, split windows by creating new panes, navigate between windows, detach and resume sessions, and personalize your Tmux instance using the .tmux.conf
file.
0 Comments
Please don't enter any spam link in the comment box.