On Sat, Feb 16, 2019 at 01:02:43PM -0800, Mike Wright wrote:
Look in /etc/. Could be redhat-release. Some distros use os-release.
Any distro using systemd (so, any modern mainstream distro) will have /etc/os-release. You can do `cat /etc/os-release`, but one of the really nice things is that this is also a machine-readable file. You can do
$ source /etc/os-release $ echo $PRETTY_NAME Fedora 29 (Workstation Edition)