What do you want to save?
Add Code snippet
New code examples
-
-
Other 2022-01-31 01:11:21
tmux rename session
tmux rename-session [-t current-name] [new-name] Add solution -
-
Other 2021-11-19 11:41:34
How to check if you are in tmux bash
if [[ "$TERM" =~ "screen".* ]]; then echo "We are in TMUX!" else echo "We are not in TMUX :/ Let's get in!" # Launches tmux in a session called 'base'. tmux attach -t base || tmux new -s base fi Add solution -
Best helpers
Hanno Fietz
+5
BurtNettle
+5
Luc Dagenais
+5
ZypA13510
+5
Reinout
+5
Vladislav
+5
Chocolate
+5
Pooja
+5
Chumakoff
+5
Njd
+5
Teraschi
+5
Recluze
+5
Cali
+5