ESXi Command LinevSphere Guides

ESXi Commands Part-1: Basic Commands

VMware ESXi is hypervisor which enables the virtualization on the physical server. In this series we will see on how you can easily get information using commands in ESXi. This is the first part where we will see some of the basic commands only where you can find the ESXi version details, Networking details & you can do the basic operations in ESXi. This will not be the complete list of commands but i will share the list as much as i can. There are multiple variety of commands are there in ESXi but we will look one after one. Commands are good to know who are new to the VMware vSphere ESXi.

First you will need to enable the SSH on the ESXi to get the access to the ESXi. By default SSH Access is disabled for the security purpose. For enabling SSH on ESXi follow the steps:
Choose the Host > Configuration > Software Section > Security Profile > Services
Click on Properties.
Find SSH & click on Options here you can start, stop or restart the Service.


For vSphere Web Client Check Below link:
Enable SSH using vSphere Web Client.

For Accessing the ESXi console you will require Putty. You can download it from the website.

Now Let’s start with some of basic commands.

Basic commands for ESXi :
Basic commands includes the basic operations which you can do in the ESXi console such as listing the directories, changing the directory, checking the date etc etc.

ls  >listing the directory.
ls -l  >to check the directories with details.
pwd   >finding the present working directory.
cd   >change the working directory.
date  >finding the date & time.



Finding the ESXi version & updates:
This will help you to find the ESXi version with build numbers & the installed VIB’s.

vmware -l   >For ESXi version
vmware -v  >For ESXi version with build



esxcli software vib list   >For checking installed VIB.



Finding the Hostname & IP address:
Basic command to find the ESXi host name & IP address.

hostname    >For finding the hostname
hostname -i    >For finding IP address.



Monitoring the ESXi load:
This will help you to find the load of the ESXi Sever. Here you can find the services running with their process ID & Name. It will also display the average CPU load.




Start or Stop the services:
Using this command you can start or stop the services in the ESXi.



Checkout our Posts on ESXi Command Line Series:-

ESXi Commands Part-2: Finding Hardware information using esxcli

ESXi Commands Part-3 : Managing ESXi using esxcli commands

ESXi Commands Part-4 : Managing ESXi Networking using esxcli commands

ESXi Commands Part-5 : Finding VM information using esxcli

ESXi Commands Part-6 : Managing Storage using esxcli

That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.

Join Our LinkedIn Group to get Updates & Discussions : Mastering VMware.
Checkout our Facebook Group for discussions & more.
You can also Like & Share our Facebook Page for Latest Updates.

Mayur Parmar

Hi I am Mayur Parmar. Independent Author & Founder of Mastering VMware. I am working in IT industry for more than 4 Years with knowledge of VMware , Microsoft Server's, Linux Server's.

Related Articles


Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button