how to check your linux version code example Example 1: how to check version of linux command line cat /etc/os-release Example 2: cat /etc/os-release cat /etc/os-release