Difference between revisions for tmux
|
← Previous edit
|
Next edit →
|
| Version1 | Version2 | ||
|---|---|---|---|
| 13 | 13 | ||
| 14 | %% | 14 | %% |
| 15 | 15 | ||
| 16 | === version === | ||
| 17 | |||
| 18 | %%(bash) | ||
| 19 | $ tmux -V | ||
| 20 | tmux 2.6 | ||
| 21 | %% | ||
| 22 | |||
| 23 | === list === | ||
| 24 | |||
| 25 | %%(bash) | ||
| 26 | ~> tmux ls | ||
| 27 | ebal: 1 windows (created Mon Aug 5 06:47:35 2019) [125x39] (attached) | ||
| 28 | %% | ||
| 29 | |||
| 30 | === new session === | ||
| 31 | |||
| 32 | %%(bash) | ||
| 33 | $ tmux new -s ebal | ||
| 34 | %% | ||
| 35 | |||
| 36 | ==== attach ==== | ||
| 37 | |||
| 38 | %%(bash) | ||
| 39 | $ tmux attach -t ebal | ||
| 40 | %% | ||
| 16 | 41 | ||
| 17 | === attach / detach === | 42 | === attach / detach === |
| 18 | 43 | ||
| 19 |
%% |
44 | %%(bash) |
| 20 | tmux new -s session_name | 45 | tmux new -s session_name |
| 21 | creates a new tmux session named session_name | 46 | creates a new tmux session named session_name |
| 22 | tmux attach -t session_name | 47 | tmux attach -t session_name |
| … | … | … | … |
| 27 | lists existing tmux sessions | 52 | lists existing tmux sessions |
| 28 | tmux detach (prefix + d) | 53 | tmux detach (prefix + d) |
| 29 | detach the currently attached session | 54 | detach the currently attached session |
| 30 |
|
55 | %% |
| 31 | 56 | ||
| 32 | === ReadOnly attach session === | 57 | === ReadOnly attach session === |
| 33 | 58 | ||
| 34 | %% | 59 | %% |
| 35 | $ tmux attach -t session_ebal -r | 60 | $ tmux attach -t session_ebal -r |
| 36 | %% | 61 | %% |
| 37 |
|
||
| 38 |
|
||
| 39 | 62 | ||
| 40 | === synchronize panes === | 63 | === synchronize panes === |
| 41 | 64 | ||