2015-10-09 09:17:32 +01:00
|
|
|
# lsb_release
|
|
|
|
|
2024-04-25 23:58:21 +01:00
|
|
|
> Get LSB (Linux Standard Base) and distribution-specific information.
|
2021-08-16 11:34:01 +01:00
|
|
|
> More information: <https://manned.org/lsb_release>.
|
2015-10-09 09:17:32 +01:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print all available information:
|
2015-10-09 09:17:32 +01:00
|
|
|
|
|
|
|
`lsb_release -a`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print a description (usually the full name) of the operating system:
|
2015-10-09 09:17:32 +01:00
|
|
|
|
|
|
|
`lsb_release -d`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print only the operating system name (ID), suppressing the field name:
|
2015-10-09 09:17:32 +01:00
|
|
|
|
|
|
|
`lsb_release -i -s`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print the release number and codename of the distribution, suppressing the field names:
|
2015-10-09 09:17:32 +01:00
|
|
|
|
|
|
|
`lsb_release -rcs`
|