command for linux version code example Example 1: linux version command lsb_release -a Example 2: linux version sudo uname -a