linux:tmux
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| linux:tmux [2016/03/24 10:48] – move | linux:tmux [2020/04/06 12:13] (aktuell) – [Panes (splits)] move | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== tmux ====== | ====== tmux ====== | ||
| + | Meine [[scripte: | ||
| ===== Session Management ===== | ===== Session Management ===== | ||
| Zeile 94: | Zeile 95: | ||
| Listet alle Sessions, Fenster, Panes, usw. | Listet alle Sessions, Fenster, Panes, usw. | ||
| - | < | + | < |
| tmux info | tmux info | ||
| </ | </ | ||
| Zeile 102: | Zeile 103: | ||
| < | < | ||
| tmux source-file ~/ | tmux source-file ~/ | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Kürzel ===== | ||
| + | |||
| + | ==== Info ==== | ||
| + | In tmux, hit the prefix ctrl+b | ||
| + | |||
| + | < | ||
| + | : | ||
| + | s list sessions | ||
| + | $ name session | ||
| + | </ | ||
| + | |||
| + | ==== Windows (tabs) ==== | ||
| + | |||
| + | < | ||
| + | c create window | ||
| + | w list windows | ||
| + | n next window | ||
| + | p previous window | ||
| + | f find window | ||
| + | , name window | ||
| + | & kill window | ||
| + | </ | ||
| + | |||
| + | ==== Panes (splits) ==== | ||
| + | |||
| + | < | ||
| + | % vertical split | ||
| + | " | ||
| + | |||
| + | o swap panes | ||
| + | q show pane numbers | ||
| + | x kill pane | ||
| + | + break pane into window (e.g. to select text by mouse to copy) | ||
| + | - restore pane from window | ||
| + | ⍽ space - toggle between layouts | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| </ | </ | ||
| | | ||
| + | ===== Sharing Terminal-Sessions zwischen 2 verschiedenen Accounts ===== | ||
| + | |||
| + | Für unterschiedliche Benutzer erstellen wir einenen tmux-Socket, | ||
| + | |||
| + | Zuerst tmux mit dem Socket starten: | ||
| + | |||
| + | < | ||
| + | tmux -S / | ||
| + | </ | ||
| + | |||
| + | Dann den Socket chgrp-en: | ||
| + | < | ||
| + | chgrp joint / | ||
| + | </ | ||
| + | |||
| + | Nun kann sich der andere User verbinden: | ||
| + | |||
| + | < | ||
| + | tmux -S / | ||
| + | </ | ||
| + | |||
| + | Es geht auch read-only: | ||
| + | |||
| + | < | ||
| + | tmux -S / | ||
| + | </ | ||
| + | |||
| ===== Siehe auch ===== | ===== Siehe auch ===== | ||
| * [[Terminal]] | * [[Terminal]] | ||
| * [[screen]] | * [[screen]] | ||
| + | * [[powerline]] | ||
| | | ||
| ===== Weblinks ===== | ===== Weblinks ===== | ||
| Zeile 112: | Zeile 184: | ||
| * https:// | * https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
linux/tmux.1458816512.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
