check ubuntu version on amazon linux code example Example: how to know the shell version in ubuntu gnome-shell --version