cheat.sheets:lsb_release
# lsb_release
# Print distribution-specific information
# Output the current distribution's ID. In Debian/Ubuntu, you'll see this an
# example of this command and these flags being used in the default GRUB
# configuration file, found at '/etc/default/grub'.
lsb_release -si
# Output the current distribution's description. This should basically show
# the full name and version of the description, minus the codename. For
# example, in Ubuntu 18.04, the returned value is: Ubuntu 18.04.5 LTS
lsb_release -sd
tldr:lsb_release
# lsb_release
# Provides certain LSB (Linux Standard Base) and distribution-specific information.
# More information: <https://manned.org/lsb_release>.
# Print all available information:
lsb_release -a
# Print a description (usually the full name) of the operating system:
lsb_release -d
# Print only the operating system name (ID), suppressing the field name:
lsb_release -i -s
# Print the release number and codename of the distribution, suppressing the field names:
lsb_release -rcs
$
cheat.sh