lsb_release
Name
lsb_release -- print distribution specific information
Synopsis
lsb_release [option...]Description
The lsb_release command prints certain LSB (Linux Standard
Base) and Distribution information.
If no options are given, the -v option is the default.
Options
-v, --version | | displays the LSB version the distribution is compliant with. The version
is expressed as a colon separated list of versioned LSB module identifiers.
An LSB module identifier is a dash-separated tuple consisting of module name and version
or module name, version and architecture name, in that order.
The version output is presented as a single line of text beginning with
LSB Version: followed by a tab character, then the list of LSB module identifiers.
This format is intended to be easily parsable by programs which need to consume the data.
Excepting core, which must always be present, the list of
module identifiers may change over time depending on installations and removals
of system software. Note: An implementation may support multiple releases of the same module. To claim
compliance, the implementation shall list all relevant module identifiers.
Version specific library interfaces, if any, will be selected by the program interpreter,
which may change from release to release. Version specific commands and utilities, if any,
will be described in the relevant specification.
For reporting or querying compliance with this release of the specification, use the
module names found in the Package Dependencies
section of the Package Format and Installation
chapter for that module specification. |
-i, --id | | displays a string identifying the distribution provider.
The id output is a single line of text beginning with
Distributor ID: followed by a tab character, then the id string.
This specification assigns no meaning to the value of the string,
the contents are at the discretion of the distribution provider. |
-d, --description | | displays text describing the distribution.
The description output is a single line of text beginning with
Description: followed by a tab character, then the description string.
This specification assigns no meaning to the value of the string,
the contents are at the discretion of the distribution provider. |
-r, --release | | displays the release number of distribution.
The release output is a single line of text beginning with
Release: followed by a tab character, then the release string.
This specification assigns no meaning to the value of the string,
the contents are at the discretion of the distribution provider. |
-c, --codename | | displays a codename which corresponds to the distribution release.
The codename output is a single line of text beginning with
Codename: followed by a tab character, then the codename string.
This specification assigns no meaning to the value of the string,
the contents are at the discretion of the distribution provider. |
-a, --all | | displays all of the above information. |
-s, --short | | displays all of the above information in a short output format. |
-h, --help | | displays a human-readable help message. |