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 *

1 × 2 =

Related Posts


OVF Package with compressed disks is currently not supported for OVF import

Symptoms On importing an OVF package provided by vendors you receive the error message: “OVF Package with compressed disks is currently not supported for OVF import”. When you deploy an OVF template containing compressed files Read more…


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…