From 35a8f931722820568f4e13f944b789c93f37a6b0 Mon Sep 17 00:00:00 2001 From: Kristopher Date: Thu, 26 Jun 2025 11:40:50 -0700 Subject: [PATCH] virt-what: add page (#16980) Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages/linux/virt-what.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pages/linux/virt-what.md diff --git a/pages/linux/virt-what.md b/pages/linux/virt-what.md new file mode 100644 index 0000000000..ea321e59a9 --- /dev/null +++ b/pages/linux/virt-what.md @@ -0,0 +1,17 @@ +# 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: . + +- 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`