How to tell if a system is virtual or physical (linux)

sudo dmidecode |grep “Product Name:” |head -1

If the above command doesn’t work:

dmidecode |grep -i “vm”

will return nothing on a virtual system and something like “VME (Virtual mode extension)” on a host system.

About vicki

Welcome to the Sovereign Republic of Vickistan. I am the President here. Lucky me! No taxes or laws yet. Lucky you!
This entry was posted in Linux. Bookmark the permalink.