tmux new <shell-command>
Create a new session
Arguments
Name | Description |
---|---|
shell-command | A shell command to run when creating the session |
Options
Name | Description |
---|---|
-A | Behave like attach-session if session-name already exist |
-d | Use the initial size from default-size |
-D | Behave like -d if -A is set |
-E | Do not use update-environment option |
-P | Print information about the new session |
-X | Behave like -x if -A is set |
-c <start-directory> | Specify a start directory for the session |
-e <environment> | Set environment variables |
-f <flags> | Set client flags |
-F <format> | Format output |
-n <window-name> | Start a new session with the given name |
-s <session-name> | Start a new session with the given name |
-t <group-name> | The name of the group |
-x <width> | The width of the session |
-y <height> | The height of the session |