On Mon, Jan 21, 2002 at 02:16:22AM -0800, Ganesh Netravali wrote:
>
>
> /sbin/kernelversion
>
---end quoted text---
IIRC, kernelversion is not a standard *nix/ Linux method. This
was developed for the Debian distribution to know the "major"
kernel version for use by the debian modutils package. Running
this program will give you an output like "2.2" and not 2.2.16
or 2.2.19. The "minor" numbers may be important if it is some
bug fixes that you are looking for.
The standard method,as correctly stated, is to use uname which
is standard with all *nices or see the /proc entries on a run-
ning system as suggested by Shridhar.
Just my 2p !
Bish
--
:
####[ Linux One Stanza Tip (LOST) ]###########################
Sub : Listing partition LOST #067
To know the total size of hard disk inclusive of Non-Linux and
non-formatted partitions, as root do:
#echo p | fdisk /dev/hdX 2> /dev/null
(where X is a, b, c etc)
OR #fdisk -l (this will list all drives together)
####<[EMAIL PROTECTED]>####################################
:
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help