6.2.11. exit

6.2.11.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.11.2. Prerequisites

  • Users: setup, gviewadm, gview

  • Dependencies: N/A


6.2.11.3. Command

exit


6.2.11.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.11.5. Example of exiting the CLI

  • Enter the following command.

    (gcap-cli) exit
    
  • Validate.