see ubuntu version bash code example Example: how to know the shell version in ubuntu gnome-shell --version