lsb_release – print distribution-specific information

lsb_release [options]

The lsb_release command provides certain LSB (Linux Standard Base) and distribution-
specific information.
If no options are given, the -v option is assumed.

~$ lsb_release -d
Description:    Ubuntu 20.04.4 LTS
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal
$ lsb_release -h
Usage: lsb_release [options]

  -h, --help         show this help message and exit
  -v, --version      show LSB modules this system supports
  -i, --id           show distributor ID
  -d, --description  show description of this distribution
  -r, --release      show release number of this distribution
  -c, --codename     show code name of this distribution
  -a, --all          show all of the above information
  -s, --short        show requested information in short format

CentOS 7

$ lsb_release
bash: lsb_release: command not found...