mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-03 18:15:23 +02:00
17 lines
376 B
Markdown
17 lines
376 B
Markdown
# 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`
|