Re: Check the linux type?



John Hasler wrote:

BearItAll writes:
I always believed /proc/version was standard...

That tells you only the kernel version.


On these here it tells me the,

It's: Linux
Kernel
Build
gcc version
Distro name and version
Last boot date and time

That is both on Redhat and openSuse. It's the only two versions I have near
me, I suspect that Debian based are giving a different line then. It's a
shame because these two give the line in a form that would be very easy to
split with a regex for the orriginal poster.


.



Relevant Pages

  • Re: What the Hell has happened to this group???
    ... then hire a Linux geek to put a proper firewall in your gateway box. ... as Root whilst connected to the internet. ... be changed locally, so they boot as root as a rule, as it were. ... happen to be on the system, though not written to by the distro as a rule ...
    (sci.electronics.design)
  • Re: I need help with Fedora
    ... DyneBolic (best distro for me) ... Ubuntu (took hell lot of time to boot) ... My project needs simple basic structure of linux kernel. ... Getting rid of the defeatist attitude would be a good first step. ...
    (Fedora)
  • Re: Linux distro request
    ... ZipSlack was my first introduction to Linux. ... Smart Boot Manager?? ... earlier kernel that will be easier on memory. ... more to gcc than gcc! ...
    (alt.lang.asm)
  • Acer Aspire 5570z Laptop Not Booting with Live CDs
    ... getting any linux distro to boot on my friend's laptop. ... Please note since then I also tried Puppy Linux 4.1 but to no ... slow and then got to the point where it just would not boot the OS. ... System Rescue CD can boot into the command line. ...
    (comp.os.linux.hardware)
  • Re: Custom Linux (a la command.com, io.sys and msdos.sys)
    ... > I wanna built a custom linux.... ... > I want barebone bootable linux and then i will add stuff whatever i want. ... > Debian is not stable and i am not happy with any distro as of now. ... > stuff) to make it boot able.. ...
    (alt.linux)