1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 15:22:08 +02:00
tldr/pages/linux/vgs.md

33 lines
533 B
Markdown

# vgs
> Display information about volume groups.
> See also: `lvm`.
> More information: <https://man7.org/linux/man-pages/man8/vgs.8.html>.
- 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 =`