The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Showing your own account information using the CLI

Prev Next

Use the CLI commands in this topic to show information about your own account.

Prerequisites
  • Any role

To show information about your own account:
  1. Log in to the CLI as yourself.

  2. Go to CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  3. To display your own account information, enter one of the following commands:

    • show usernames user <username>

    • show whoami