O'Reilly logo

Getting Started with Red Hat Enterprise Virtualization by Pradeep Subramanian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Basic command-line examples

CLI is an interactive shell, and the user can type in the required command and press Tab for autocomplete just like we do in Linux bash. To get the list of commands after you login to the CLI shell for the first time, press your Tab key twice. This will give you a list of all the commands, as shown in the following code:

[RHEVM shell (connected)]#
EOF         add         connect     disconnect  exit        help        info        ping        shell       status       update      action      clear       console     echo        file        history     list        remove     show        summary
[RHEVM shell (connected)]#

As an example, to list the virtual machines, you can type in help for the specific command, and this will open a help page on how to run the command with different options to get the output. Execute the following help ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required