virt-what

Shell script that detects if you are running in a virtual machine. Outputs a specific code for a virtual machine if detected. More information: https://manned.org/virt-what.

virt-what

virt-what > {{path/to/file}}

virt-what --version