how to know the linux version shell code example
Example 1: how to check version of linux command line
cat /etc/os-release
Example 2: how to know the shell version in ubuntu
gnome-shell --version
cat /etc/os-release
gnome-shell --version