virt-what
detect if we are running in a virtual machine
Install
- All systems
-
curl cmd.cat/virt-what.sh
- Debian
-
apt-get install virt-what
- Ubuntu
-
apt-get install virt-what
- Alpine
-
apk add virt-what
- Kali Linux
-
apt-get install virt-what
- CentOS
-
yum install virt-what
- Fedora
-
dnf install virt-what
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install virt-what
- Raspbian
-
apt-get install virt-what
- Dockerfile
- dockerfile.run/virt-what
- Docker
-
docker run cmd.cat/virt-what virt-what
powered by Commando
virt-what
detect if we are running in a virtual machine
Virt-what is a shell script which can be used to detect if the program is running in a virtual machine (VM). The program prints out a list of "facts" about the virtual machine, derived from heuristics. One fact is printed per line.