Difference between revisions for tmux
|
← Previous edit
|
Next edit →
|
| Merge of Version1 & Version2 | |
|---|---|
| 13 | |
| 14 | %% |
| 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 | %% |
| 41 | |
| 42 | === attach / detach === |
| 43 | |
| 44 | %% |
| 45 | tmux new -s session_name |
| 46 | creates a new tmux session named session_name |
| 47 | tmux attach -t session_name |
| … | … |
| 52 | lists existing tmux sessions |
| 53 | tmux detach (prefix + d) |
| 54 | detach the currently attached session |
| 55 | |
| 56 | |
| 57 | === ReadOnly attach session === |
| 58 | |
| 59 | %% |
| 60 | $ tmux attach -t session_ebal -r |
| 61 | %% |
| 62 | |
| 63 | === synchronize panes === |
| 64 | |