what linux version am i running code example
Example 1: linux version command
lsb_release -a
Example 2: linux version
sudo uname -a
Example 3: get linux distro from terminal
dmesg | head -1
lsb_release -a
sudo uname -a
dmesg | head -1