How to Check Ubuntu Version from the Command Line

For check Ubuntu version using command line, you can use one of the command:

lsb_release -a
check1

lsb_release -d
check2

cat /etc/issue
check3

cat /etc/os-release
check4

hostnamectl
check5