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 assumed.
Options
-v, --version | | displays version of LSB against which distribution is compliant. The version
is expressed as a colon separated list of LSB module descriptions. LSB module
descriptions are dash separated tuples containing the module name, version,
and architecture name.
The output is a single line of text of the following format: LSB Version:\tListAsDescribedAbove Note: An implementation may support multiple releases of the same module.
Version specific library interfaces, if any, will be selected by the program interpreter,
which changes from release to release. Version specific commands and utilities, if any,
will be described in the relevant specification.
|
-i, --id | | displays string id of distributor.
The output is a single line of text of the following format: Distributor ID:\tDistributorID |
-d, --description | | displays single line text description of distribution.
The output is of the following format: Description:\tDescription |
-r, --release | | displays release number of distribution.
The output is a single line of text of the following format: Release:\tRelease |
-c, --codename | | displays codename according to distribution release.
The output is a single line of text of the following format. Codename:\tCodename |
-a, --all | | displays all of the above information. |
-s, --short | | displays all of the above information in short output format. |
-h, --help | | displays a human-readable help message. |
Examples
The following command will list the LSB Profiles which are currently supported
on this platform.
example% lsb_release -v
LSB Version: core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch |