Re: Check the linux type?
- From: BearItAll <spam@xxxxxxxxxxxxx>
- Date: Fri, 30 Mar 2007 09:06:27 +0100
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.
.
- Follow-Ups:
- Re: Check the linux type?
- From: John Hasler
- Re: Check the linux type?
- References:
- Check the linux type?
- From: SamG
- Re: Check the linux type?
- From: BearItAll
- Re: Check the linux type?
- From: John Hasler
- Check the linux type?
- Prev by Date: Re: Sorting a directory for a slide show.
- Next by Date: Re: FREE Linux Shell Provider
- Previous by thread: Re: Check the linux type?
- Next by thread: Re: Check the linux type?
- Index(es):
Relevant Pages
|
|