B.1. Navigating, Managing, and Monitoring Through the Service Console

Getting around the ESX Service Console is a critical skill for troubleshooting and managing ESX hosts when the traditional graphical tools are not available. The following commands are some of the common commands for moving around a Linux-based operating system. In all of the following examples, the hash sign (#) represents the shell prompt.

cd

Used to change directories.

Example: # cd /vmfs/volumes

ls

Used to list files and folders in the current directory.

Example: # ls

ls -l

Used to list files and folders in a long format with rights and owners.

ls -s

Used to list files and folders in a short format.

ls -R

Used to list files and folders with the ability to scroll.

whoami ...

Get Mastering VMware vSphere™ 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.