linux
    
  
    
         vmware
    
  
    
         sysadmin
    
  
    
         virtualization
    
  
  
  
  Kill a running VMware virtual machine from the command line...
killall vmware-vmx
This will kill all running VMware virtual machines. If you want to kill a specific virtual machine, you can use the ps
command to find the process ID (PID) of the virtual machine and then use the kill command to kill it.
ps -ef | grep vmware-vmx
kill -9 <PID>