Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Will usually display the distro, version, kernel and such.
man uname for more information and or options.
Some other useful commands:
cat /proc/cpuinfo = for cpu information
cat /proc/interrupts = interrupts information
cat /proc/pci = pci information
Basically you can cat most of the files in the /proc directory to view any information regarding your system. Take a peek on some other files you may have there, they are pretty self explanatory.
Thanks guys, this helped but when I tried telnet to my server box and running the cat /proc/version command, it did not return the distribution. it just said (release) where as on my local box it says (Mandrake Linux 9.0 3.2-1mdk)
is there another way to get at the distribution information?
Try using "sysreport". It works great on RedHat - in a way it give you too much info but it is good for creating an archive about the system specs for sending them to another computer for analysis.
At home I'm using Mandrake 9.0
I have a website on a server and I don't know the distro, I guess I can email my hosting provider, but I was just looking for a command that would tell me.
Thanks for help guys. The kernel info provided was also helpful.
Originally posted by Pete Dogg At home I'm using Mandrake 9.0
I have a website on a server and I don't know the distro, I guess I can email my hosting provider, but I was just looking for a command that would tell me.
Thanks for help guys. The kernel info provided was also helpful.
Well you might not have access to it since its your host provider but you may want to look for a version file in /etc or maybe you can view the issue file, which will sometimes tell you the distro version as well.
Ok I tried the cat /etc/issue on my local box, it worked but just "Welcome" was on the server's file.
I couldn't find the /etc/version file on either box.
I tried the HEAD request. Mandrake was shown on my local box, but no distro info was shown on the server box.
Must be just this one server, I tried another box on their network and it showed RedHat, so chances are that's what's used on my server box.
if you can't find out what distribution you might want to:
- check the /etc directory ffor files like /etc/SuSE-version, /etc/versiont, etc
- brose some files in /etc for messages/copyright strings/etc from distro vendor
- ask de person who installed linux :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.