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, –release | Show release number of this distribution. |
| -c, –codename | Show code name of this distribution. |
| -a, –all | Show 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