upterm session stop
Stop a running session
Synopsis
Stop a running session, given its name or session ID.
NAME|ID is the session’s name (the one ‘upterm host’ printed, or –name gave it) or its session ID; ‘upterm session list’ shows both.
The session’s command is hung up, then terminated, then killed if it stays, and every attached terminal is released. The session’s record keeps its outcome: ‘upterm session info NAME’ reports it as stopped.
A session that has already ended is reported as such and is not an error.
Exits 4 when no session has the name, and 1 for any other failure.
upterm session stop NAME|ID [flags]
Examples
# Stop the session named build-shell:
upterm session stop build-shell
# Stop a session given its session ID:
upterm session stop d3k5fia7m4us73ehblug
Options
-h, --help help for stop
Options inherited from parent commands
--debug Enable debug logging (log file: /home/user/.local/state/upterm/upterm.log). A non-empty DEBUG turns it on too.
SEE ALSO
- upterm session - Display and manage terminal sessions