tldr/pages/linux/lsb_release.md

21 lines
503 B
Markdown
Raw Normal View History

2015-10-09 09:17:32 +01:00
# lsb_release
> Provides certain LSB (Linux Standard Base) and distribution-specific information.
> More information: <https://manned.org/lsb_release>.
2015-10-09 09:17:32 +01:00
- Print all available information:
2015-10-09 09:17:32 +01:00
`lsb_release -a`
- Print a description (usually the full name) of the operating system:
2015-10-09 09:17:32 +01:00
`lsb_release -d`
- Print only the operating system name (ID), suppressing the field name:
2015-10-09 09:17:32 +01:00
`lsb_release -i -s`
- Print the release number and codename of the distribution, suppressing the field names:
2015-10-09 09:17:32 +01:00
`lsb_release -rcs`