mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 16:51:02 +00:00
Update cheatsheets
This commit is contained in:
38
linux/lvs
Normal file
38
linux/lvs
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
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://man7.org/linux/man-pages/man8/lvs.8.html>.
|
||||
|
||||
- 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 {{=}}`
|
||||
Reference in New Issue
Block a user