Thursday, August 30, 2018

How to detect or identify a running Linux distribution.


$ rpm -qf /etc/redhat-release

OR

# cat /proc/version

OR

# cat /etc/issue.net

OR

# cat /etc/issue