mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 20:50:26 +00:00
Update cheatsheets
This commit is contained in:
22
tldr/linux/virt-what
Normal file
22
tldr/linux/virt-what
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user