tldr/pages/linux/lsb_release.md

20 lines
449 B
Markdown
Raw Normal View History

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