lsb_release — Show Linux Distribution Information

lsb_release shows Linux distribution information such as release name, version and codename. It is a quick way to confirm which distribution a server is running.

Show all distribution details

lsb_release -a

Show only the description

lsb_release -d

If lsb_release is not installed, many modern systems also provide release information in /etc/os-release.

cat /etc/os-release

Leave a Comment