mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-05 10:15:41 +02:00
virt-what: add page (#16980)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
This commit is contained in:
parent
042ed8d864
commit
35a8f93172
1 changed files with 17 additions and 0 deletions
17
pages/linux/virt-what.md
Normal file
17
pages/linux/virt-what.md
Normal file
|
@ -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: <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`
|
Loading…
Add table
Reference in a new issue