Hi guy’s,

here’s how to view history command on ESX/ESXi

  • In ESXi 5.x, the shell commands are logged in the shell.log file located at /var/log/.
  • In ESXi 4.x, the shell commands are logged in the messages log file. To view the shell commands, run this command:

    grep shell /var/log/messages

  • In ESX, you can find the commands that were run by using the history command. This information is also available in the /root/.bash_history file.

    Note: The .bash_history file is not included when gathering a host support bundle. If you want VMware Support to analyze the .bash_history file, copy it manually and attach it to your Support Request.

Leave a Reply

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

one × one =

Related Posts


Downloading and licensing vSphere Hypervisor (ESXi 6.x & 7.x)

Downloading vSphere Hypervisor (ESXi 6.x & 7.x) To download and activate ESXi 6.x & 7.x: Navigate to the VMware vSphere Hypervisor (ESXi) Download Center. From the Select Version drop down, select the version Click Download. Read more…


Setting Network IPMP & Aggregate Solaris 11

Configure an Active-Standby IPMP Group 1. Create an IPMP interface ipadm create-ip net0 ipadm create-ip net1 ipadm create-ipmp ipmp0 2. Add the physical interfaces net0 and net1 to the ipmp group. ipadm add-ipmp -i net0 Read more…


Build numbers and versions of VMware ESXi/ESX

This table lists the ESXi build numbers and versions: Version Release Name Release Date Build Number Installer Build Number ESXi 7.0 Update 1a ESXi 7.0 Update 1a 11/04/2020  17119627 N/A ESXi 7.0 Update 1 ESXi Read more…