Last active
March 28, 2016 02:12
-
-
Save nguyendangminh/85de269858ce8366f480 to your computer and use it in GitHub Desktop.
tmux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a new session | |
$ tmux | |
## or | |
$ tmux new | |
## or | |
$ tmux new -s <session-name> | |
# Detaching from a session | |
$ tmux detach | |
## or | |
Ctrl-b d | |
# Show sessions | |
$ tmux ls | |
# or | |
Ctrl-b s | |
# Attach an existing session | |
$ tmux a # attach the first one | |
$ tmux a -t <session-name> | |
# Killing a session | |
$ tmux kill-session -t <session-name> | |
# Working with window and pane | |
## Split window vertically | |
Ctrl-b " | |
## toggle between panes | |
Ctrl-b o | |
## break the pane out of the window | |
Ctrl-b ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment