From 04f4e4219b63187630aab706f65245e2ea1ade5a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 27 Aug 2007 13:45:26 +0000 Subject: Change command format. --- NOTES | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) (limited to 'NOTES') diff --git a/NOTES b/NOTES index ff4904ed..20064ee5 100644 --- a/NOTES +++ b/NOTES @@ -11,10 +11,31 @@ Commands: d detach There is one default server process per user which puts its socket in /tmp/tmux-UID. It is created the first time tmux is run and subsequent invocations will connect to the same server. The server holds multiple -sessions, call tmux with "-n " to create a session or attach to -an existing session. All the sessions may be listed with -l, or the windows of -a single session with "-ln ". Sessions are destroyed when no -windows remain attached to them. +sessions. + +Syntax is: tmux [-v] [-n name] [-s path] command + +The command is either list, new or attach. Create a new session with: + + tmux new + +Optionally giving it a name with: + + tmux -n new + +Attach to a previous session with: + + tmux -n attach + +List all sessions with: + + tmux list + +Or the windows of a single session with: + + tmux -n list + +Sessions are destroyed when no windows remain attached to them. Another server process can be used by specifying an alternative socket path with "-s " but it shouldn't normally be required. -- cgit