how to see linux version terminal code example Example 1: linux show version cat /etc/os-release Example 2: how to know the shell version in ubuntu gnome-shell --version