I normally use uname
to determine which OS is running, but I have accounts on several machines where I don't know the particular distribution that is running.
When uname
returns Linux, I tried uname -a
and I see only the following:
Linux host123 3.0.58-0.6.6-pae blah blah blah i686 i686 i386 GNU/Linux
My guess is this is a SUSE distribution, but is there a better way to know which distribution is installed similar to how uname
normally shows AIX, Darwin, etc...?