It is useful in some situations to get a "user-readable description" of the OS/version considered (in our case, to identify the OS running in a VM).
This information is available eg. in /etc/os-release as PRETTY_NAME, or from lsb_release as Description, and cannot be deduced from existing fields for various reasons, including:
every OS editor has its conventions
Version retrivial does not all today to access the official version string
It could default to a constructed string for OS not directly providing such information.
It is useful in some situations to get a "user-readable description" of the OS/version considered (in our case, to identify the OS running in a VM).
This information is available eg. in
/etc/os-release
asPRETTY_NAME
, or fromlsb_release
asDescription
, and cannot be deduced from existing fields for various reasons, including:It could default to a constructed string for OS not directly providing such information.