Comments on: How to find out the version of your OS http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: Bob Dole http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-2493 Fri, 19 Jan 2007 00:02:48 +0000 http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-2493

This was so helpful it’s not even funny. I have been looking for a way to find out where these linux distros have been storing their stuff (since it’s not in uname -a)

THANKS SO MUCH!

Reply  |  Quote
]]>
By: Luke http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-1163 Sat, 16 Sep 2006 01:22:14 +0000 http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-1163

Hahaha! Could not resist port scanning you since you posted the fully qualified domain name here. And this is precisely why I censored the name in one of my uname examples above. I did it on that one Sun machine that we both know all to well ;)

Btw, if you do this on your laptop it will most likely just return the hostname of your machine (in my case it was inuyasha and evangelion). There are local names and they are not associated with any IP address. In fact, inuyasha is a laptop which is on DHCP regularly travels between 3 different networks (school, home, work).

Reply  |  Quote
]]>
By: ZeWrestler http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-1162 Sat, 16 Sep 2006 00:14:49 +0000 http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-1162

This is why i did uname on a machine in the unix lab, instead of my own personal pc.

Reply  |  Quote
]]>
By: Fr3d http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-1161 Fri, 15 Sep 2006 21:10:44 +0000 http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-1161

As Craig said, you can use the /etc/*release files…

Just do a “cat /etc/*release” and you’ll get the info you need :)

However, Fedora systems seem to have both a redhat-release and fedora-release file, which contain the same info, shown here from my Fedora Core 5 box:
root@obiwan:~# cat /etc/*release
Fedora Core release 5 (Bordeaux)
Fedora Core release 5 (Bordeaux)

Reply  |  Quote
]]>
By: Luke http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-1159 Fri, 15 Sep 2006 19:41:20 +0000 http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-1159

Hey, thanks for the tip Craig! I added it to my post. :)

Reply  |  Quote
]]>
By: Craig Betts http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-1157 Fri, 15 Sep 2006 17:12:44 +0000 http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-1157

Carefull when relying on /etc/issue. Many sysadmins use this file for security banners and the OS info will be removed.

Another good spot to look is /etc/*release. I am not too familiar with some of the Linux ditros, but I know RedHat and SuSE work with this (the wildcard will get you the right stuff). This also works for Solaris.

Reply  |  Quote
]]>
By: Luke http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-1155 Fri, 15 Sep 2006 16:28:38 +0000 http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-1155

Heh, and you have following ports open: 22, 4045, 32771, 32773 and 32779. That and you are running a NFS file system. :twisted:

Interestingly enough nmap did not detect the OS version.

Reply  |  Quote
]]>
By: ZeWrestler http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-1154 Fri, 15 Sep 2006 16:06:10 +0000 http://www.terminally-incoherent.com/blog/2006/09/15/how-to-find-out-the-version-of-your-os/#comment-1154

The machine i’m running on is this (not my own machine, pc lab i’m at)
SunOS titanium.ecs.syr.edu 5.9 Generic_118558-10 sun4u sparc SUNW,Sun-Blade-100

Reply  |  Quote
]]>