I have a computer with Linux software. I need to know the version of my OS. I telnet to the device board, and trying to see what version of the Linux it is running, but don't know how.
How can I check? Any specific command is there ?
I have a computer with Linux software. I need to know the version of my OS. I telnet to the device board, and trying to see what version of the Linux it is running, but don't know how.
How can I check? Any specific command is there ?
To get the Kernel version use the command,
You'll get the redhat release from the file, /etc/redhat-release.uname -r
You can also check using:
andcat /etc/issue.net
cat /etc/*-release
uname -a
is a linux command that will output useful information about your linux distribution, kernel version, cpu information and more.
That will tell you which kernel version is running. As far as redhat version number, there might be a file somewhere, or you can guess based on the kernel version maybe.
Also, don't use the tags unless your posting actual code or a command line or console output.
cat /proc/version works unless you are on AIX, SunOS or meybe other systems. Then you will have to use uname. Anybody knows other methods to determine OS?
Bookmarks