6.2.12. exit

6.2.12.1. Introduction

The exit command enables:

  • Returning to the root (gcap cli) if the prompt is elsewhere in the tree structure

  • Leave the SSH session if the prompt is already at the root (gcap-cli)

The CTRL + D shortcut enables calling the exitcommand.


6.2.12.2. Prerequisites

  • Users: setup, gviewadm, gview

  • Dependencies: N/A


6.2.12.3. Command

exit


6.2.12.4. Example of exiting the "set protocols-selector logging" context

  • Enter the following command.

    (gcap-cli set protocols-selector logging) exit
    
  • Validate.
    The prompt changed and shows the root context:

    (gcap-cli)
    

6.2.12.5. Example of exiting the CLI

  • Enter the following command.

    (gcap-cli) exit
    
  • Validate.