Someone asked me this question this week – how do I see the history of my commands in the the ESXi shell?
There is no history command on an ESXi host..
So how do you go about getting the history of the shell commands?
William Lam posted an answer today on the VMware Communities.
The command history is located in /var/log/shell.log
Of course also there is a KB stating this information as well - KB2004201