Forrest logo
back to the lvs tool

lvs:tldr:a56df

lvs: Suppress heading line.
$ lvs --noheadings
try on your machine

The "lvs" command is used in Linux and Unix-like operating systems to display information about logical volumes in the LVM (Logical Volume Manager) system.

The "lvs --noheadings" option is used to remove the header line from the output of the "lvs" command. By default, when you run the "lvs" command, it displays a header line that describes the columns of the output (such as LV, VG, Attr, etc.). However, when you use "--noheadings" option, it suppresses the header line and only shows the actual data without any column headers.

This can be useful when you want to process or manipulate the output of the "lvs" command, for example, in scripts or command pipelines, as it removes the need to skip or handle the header line separately.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the lvs tool