Book Image

Getting Started with Red Hat Enterprise Virtualization

By : Pradeep Subramaniaan
Book Image

Getting Started with Red Hat Enterprise Virtualization

By: Pradeep Subramaniaan

Overview of this book

Table of Contents (17 chapters)
Getting Started with Red Hat Enterprise Virtualization
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 command from the shell for VMS:

[RHEVM shell (connected)]# help list
[RHEVM shell (connected)]# help list vms

The output of the help...