diff options
author | kaernyk <kaernyk@users.noreply.github.com> | 2014-09-08 09:12:30 -0400 |
---|---|---|
committer | kaernyk <kaernyk@users.noreply.github.com> | 2014-09-08 09:12:30 -0400 |
commit | e8e9f08c540123eec124afd3a2666b52a48d0a4a (patch) | |
tree | d778444e88c3d6baf75882435ef410987b8c335a | |
parent | 0f00fb2b7ae0118bd52bfc675f0e8561c083d241 (diff) |
Fix terminal commands
Header syntax has been corrected
-rw-r--r-- | tmux.html.markdown | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/tmux.html.markdown b/tmux.html.markdown index 2850a64b..ae68ed75 100644 --- a/tmux.html.markdown +++ b/tmux.html.markdown @@ -14,40 +14,40 @@ from a screen and continue running in the background, then later reattached. ```bash -# We’ll start off with managing tmux from a terminal: - - tmux - - new # Create a new session - -s "Session" # Create named session - -n "Window" # Create named Window - -c "/dir" # Start in target directory - - attach # Attach last/available session - -t "#" # Attach target session - -d # Detach the session from other instances - - ls # List open sessions - -a # List all open sessions - - lsw # List windows - -a # List all windows - -s # List all windows in session - - lsp # List panes - -a # List all panes - -s # List all panes in session - -t # List app panes in target - - kill-window # Kill current window - -t "#" # Kill target window - -a # Kill all windows - -a -t "#" # Kill all windows but the target - - kill-session # Kill current session - -t "#" # Kill target session - -a # Kill all sessions - -a -t "#" # Kill all sessions but the target + + tmux [command] # Run a command + # 'tmux' with no commands will create a new session + + new # Create a new session + -s "Session" # Create named session + -n "Window" # Create named Window + -c "/dir" # Start in target directory + + attach # Attach last/available session + -t "#" # Attach target session + -d # Detach the session from other instances + + ls # List open sessions + -a # List all open sessions + + lsw # List windows + -a # List all windows + -s # List all windows in session + + lsp # List panes + -a # List all panes + -s # List all panes in session + -t # List app panes in target + + kill-window # Kill current window + -t "#" # Kill target window + -a # Kill all windows + -a -t "#" # Kill all windows but the target + + kill-session # Kill current session + -t "#" # Kill target session + -a # Kill all sessions + -a -t "#" # Kill all sessions but the target |