bash get only linux version number code example Example: check the linux distribution cat /etc/os-release