I am trying to find a command that will give me the Linux OS and version. Uname -r gives me the kernel version but I am looking for somthing along the lines of the ver command in windows.
There isn't really any such thing. Windows is a monolithic piece of software from one vendor, Linux is a collection of thousands of pieces of software from many contributers.
uname -r is probably the closest you will get to ver, bot some distributions have release levels that you can check, for example Red Hat store it in /etc/redhat-release, SuSE in /etc/SuSE-release, ...
If you know which Linux distribution you are using that would help?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.