Linux: Difference between revisions
(→Tmux) |
(→Tmux) |
||
Line 73: | Line 73: | ||
Getting Started: | Getting Started: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
# Make a new | # Make a new session | ||
tmux | tmux | ||
# Make a new named | # Make a new named session | ||
tmux new -s | tmux new -s my_session | ||
# Detach from a | # Rename a session | ||
# Keybinding: Ctrl + b, $ | |||
tmux rename-session [-t current-name] [new-name] | |||
# Detach from a session | |||
# Keybinding: Ctrl + b, d | |||
tmux detach | |||
# List windows | # List windows | ||
tmux ls | tmux ls | ||
# Attach to a | # Attach to a session | ||
tmux attach -t | tmux attach -t my_session | ||
</syntaxhighlight> | </syntaxhighlight> |