Reference
quit
On this page
Disconnect from a Runtime API interactive session.
Description Jump to heading
Use the quit
command to disconnect from the Runtime API when using in interactive mode.
Examples Jump to heading
The following example shows an interactive session with the Runtime API, terminated with the quit
command.
-
Connect to the Runtime API socket:
nixsudo socat stdio tcp4-connect:127.0.0.1:9999nixsudo socat stdio tcp4-connect:127.0.0.1:9999 -
Start an interactive session:
nixpromptnixprompt -
Quit the session:
nixquitnixquit
See also Jump to heading
Do you have any suggestions on how we can improve the content of this page?