mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 18:42:08 +00:00
39 lines
599 B
Plaintext
39 lines
599 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# vgs
|
|
|
|
> Display information about volume groups.
|
|
> See also: `lvm`.
|
|
> More information: <https://manned.org/vgs>.
|
|
|
|
- Display information about volume groups:
|
|
|
|
`vgs`
|
|
|
|
- Display all volume groups:
|
|
|
|
`vgs -a`
|
|
|
|
- Change default display to show more details:
|
|
|
|
`vgs -v`
|
|
|
|
- Display only specific fields:
|
|
|
|
`vgs -o {{field_name_1}},{{field_name_2}}`
|
|
|
|
- Append field to default display:
|
|
|
|
`vgs -o +{{field_name}}`
|
|
|
|
- Suppress heading line:
|
|
|
|
`vgs --noheadings`
|
|
|
|
- Use separator to separate fields:
|
|
|
|
`vgs --separator =`
|