Distributions

Utilities

lsb_release – print distribution-specific information (minimal implementation)

This is a bare-bones version of the lsb_release command, implemented as a tiny POSIX shell script (less than 100 lines of commented code).

-r, –releaseShow release number of this distribution.
-c, –codenameShow code name of this distribution.
-a, –allShow all of the above information.
lsb_release -rc
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.3 LTS
Release:        24.04
Codename:       noble