How to check Linux version / distribution

There are several CLI commands to get the OS Linux info:

uname -r
cat /etc/os-release

or

/etc/*-release
lsb_release -a
cat /proc/version
hostnamectl

Leave a Reply