TMUX (tmux) is a fantastic tool for doing multitasks in terminal. For a programmer and researchers whose work involves coding, tmux is an essential tool.
In Ubuntu Linux, it can be installed by apt command.
To install from source code, download the package from this GitHub link.
Here are the important commands to use tmux.
tmux
tmux attach
ctrl + B (the default prefix for tmux)
prefix + c "Creates a window"
prefix + , To name/rename the panel
prefix + $ To name/rename the session
prefix + % vertical split
prefix + " horizontal split
prefix + d detach
prefix + d ? to list all shortcuts
prefix + --> arrow : moves cursor to the right pane
prefix + <-- arrow : moves cursor to the left pane
To resize the panel size, prefix + Right /Lef/Down/Up arrow (i.e. --> or <--)
(Note that prefix followed by right/left arrow will move the cursor to the right/left pane)
It is also possible to restart entire tmux session after the restart. For this you need to use
tmux resurrect command. More on this later.
In Ubuntu Linux, it can be installed by apt command.
To install from source code, download the package from this GitHub link.
Here are the important commands to use tmux.
tmux
tmux attach
ctrl + B (the default prefix for tmux)
prefix + c "Creates a window"
prefix + , To name/rename the panel
prefix + $ To name/rename the session
prefix + % vertical split
prefix + " horizontal split
prefix + d detach
prefix + d ? to list all shortcuts
prefix + --> arrow : moves cursor to the right pane
prefix + <-- arrow : moves cursor to the left pane
To resize the panel size, prefix + Right /Lef/Down/Up arrow (i.e. --> or <--)
(Note that prefix followed by right/left arrow will move the cursor to the right/left pane)
It is also possible to restart entire tmux session after the restart. For this you need to use
tmux resurrect command. More on this later.
You can also see:
https://github.com/ssthurai/tmux-resurrecthttps://github.com/ssthurai/tmux-continuumFor more commands, see this GitHub page on tmux.
No comments:
Post a Comment