Difference between revisions for tmux
|
← Previous edit
|
Next edit →
|
| Version1 | Version2 | Differences |
|---|---|---|
| 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 | 42 | === attach / detach === |
| 18 | 43 | |
| 19 |
%% |
|
| 44 | %%(bash) | |
| 20 | 45 | tmux new -s session_name |
| 21 | 46 | creates a new tmux session named session_name |
| 22 | 47 | tmux attach -t session_name |
| … | … | … |
| 27 | 52 | lists existing tmux sessions |
| 28 | 53 | tmux detach (prefix + d) |
| 29 | 54 | detach the currently attached session |
| 30 |
|
|
| 55 | %% | |
| 31 | 56 | |
| 32 | 57 | === ReadOnly attach session === |
| 33 | 58 | |
| 34 | 59 | %% |
| 35 | 60 | $ tmux attach -t session_ebal -r |
| 36 | 61 | %% |
| 37 |
|
|
| 38 |
|
|
| 39 | 62 | |
| 40 | 63 | === synchronize panes === |
| 41 | 64 |