Charles Marcus wrote:
On 10/29/2008 2:41 PM, Timo Sirainen wrote:
/etc/gentoo-release Added.
Hmmm... this doesn't really contain useful info though...
~ # cat /etc/gentoo release Gentoo Base System release 1.12.11.1 Looks just fine.
maybe some forme of the uname command?
~ # uname -orpm 2.6.23-gentoo-r9 x86_64 AMD Opteron(tm) Processor 244 GNU/Linux uname() is also used. It would probably print with you:
# OS: Linux 2.6.23-gentoo-r9 x86_64 Gentoo Base System release 1.12.11.1
Ahh... well, there ya go... thanks Timo, maybe this will save you some few precious seconds... ;)
For FreeBSD you may use:
#sysctl kern.version
kern.version: FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 1 10:10:12 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
Or: # uname -srmi FreeBSD 7.0-RELEASE-p5 i386 GENERIC
-- Best regards, Proskurin Kirill