9.3.10. exit

A - 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 `exit` command.


B - Prerequisites

  • User: setup, gviewadm, gview

  • Dependencies: N/A


C - Command

`exit`


D - Procedure to exit the current context

  1. Enter the command

    (gcap-cli ...) exit
    
  2. Validate
    The prompt changed and shows the root context
    (gcap-cli)
    

E - Procedure to exit the CLI

The command prompt is displayed.

(gcap-cli)
  1. Enter the command

    exit
    
  2. Validate