Created
March 21, 2021 09:10
-
-
Save mze3e/769fcfc9a57e8be29cd90d4fcce2866f to your computer and use it in GitHub Desktop.
How to check linux flavor and version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For checking kernel version: | |
uname -a | |
For checking Linux flavor and version: | |
cat /proc/version | |
Once you know that you are running Red Hat for example, you can get to the point with: | |
cat /etc/redhat-release | |
Or on Debian: | |
cat /etc/debian_version | |
or in general : | |
cat /etc/*-release | |
Also you could use the following command | |
cat /etc/issue | |
Courtesy: https://stackoverflow.com/questions/13036048/how-do-i-identify-the-particular-linux-flavor-via-command-line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment