Difference between revisions of "tmux quickstart"

From thelinuxwiki
Jump to: navigation, search
(Created page with "start tmux tmux split current pane vertically (creates a new pane) ctrl+b % split current pane horizontally (creates a new pane) crtl+b " category:tmux")
 
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
 
start tmux
 
start tmux
 
  tmux
 
  tmux
 +
display help
 +
ctrl+b ?
 
split current pane vertically (creates a new pane)
 
split current pane vertically (creates a new pane)
 
  ctrl+b %
 
  ctrl+b %
 
split current pane horizontally (creates a new pane)
 
split current pane horizontally (creates a new pane)
 
  crtl+b "
 
  crtl+b "
 +
display-panes numbers
 +
ctrl+b q
 +
move cursor to pane number
 +
ctrl+b q <pane-number>  (hit it before they disappear)
 +
move cursor to another panecl
 +
 +
using arrow keys
 +
crtl+b(release) <arrow key>
 +
'''entering scrollback mode'''
 +
ctrl-b [
 +
to exit
 +
esc
 +
 +
sync panes
 +
crtl+b
 +
<br>:setw synchronize-panes
 +
 +
 +
== sessions ==
 +
 +
list running sessions
 +
# '''tmux ls'''
 +
myhostms: 1 windows (created Tue Aug  5 18:26:50 2014) [363x94] (attached)
 +
 +
attach to running session
 +
 +
# '''tmux a -t <session_name>'''
 +
i.e.
 +
# '''tmux a -t myhostms'''
  
 
[[category:tmux]]
 
[[category:tmux]]

Latest revision as of 23:01, 15 July 2019

start tmux

tmux

display help

ctrl+b ?

split current pane vertically (creates a new pane)

ctrl+b %

split current pane horizontally (creates a new pane)

crtl+b "

display-panes numbers

ctrl+b q

move cursor to pane number

ctrl+b q <pane-number>  (hit it before they disappear)

move cursor to another panecl

using arrow keys

crtl+b(release) <arrow key>

entering scrollback mode

ctrl-b [

to exit

esc

sync panes

crtl+b

:setw synchronize-panes

sessions

list running sessions

# tmux ls
myhostms: 1 windows (created Tue Aug  5 18:26:50 2014) [363x94] (attached)

attach to running session

# tmux a -t <session_name>

i.e.

# tmux a -t myhostms