Skip to content
Search

Lsb release

lastmod 2023-07-21created 2020-09-014 edits

LSB

LSB means: The lsb_release command prints certain LSB (Linux Standard Base) and Distribution infomation.

Checking the Linux distribution

lsb_release -r | awk '{print $2}'

Or check it as follows.

cat /etc/*-release | grep -E '^ *NAME *='

Linux Distribution Detection

See Linux#Distribution Detection for details on how to check the Linux distribution.

Upgrading the OS to the latest version

Use do-release-upgrade.

See also

author Zer0 sitemap