Friday, November 20, 2009

Detecting Running a VMWare Clone Linux

Detecting if your OS is running on a vmware machine

( grep -i vmware /proc/scsi/scsi || /sbin/lspci | grep -i vmware ) && echo This is a Virtual Machine

No comments:

Post a Comment