arch version check code example Example 1: linux version command lsb_release -a Example 2: how to check kernel version in linux cat /proc/version