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