1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 06:35:24 +02:00
tldr/pages/linux/virt-what.md
Kristopher 35a8f93172
virt-what: add page (#16980)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
2025-06-26 21:40:50 +03:00

376 B

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.

  • Detect if you are running in a virtual machine:

virt-what

  • Log output of virt-what into a file:

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

  • Display version:

virt-what --version