To find out which version of OS we are using, we will use UNIX uname command, alone, or with additional options:
This is result on my system:
#uname
OpenBSD
More info about system you will get with "uname -a":
#uname -a OpenBSD swordfish 4.8 GENERIC#136 i386
Machine type, "uname -m":
#uname -m i386
Machine nodename (network name), "uname -n":
#uname -n swordfish
Some details on processor, "uname -p":
#uname -p Intel(R) Pentium(R) 4 Mobile CPU 1.70 GHz ("GenuineIntel" 686-class)
Release with "uname -r":
#uname -r 4.8
System version, "uname -v":
#uname -v GENERIC#136
All in all, except "uname -p" for info on CPU, all you need is "uname -a".
Check your man uname page.
No comments:
Post a Comment