[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uname -s
From: |
Petri Koistinen |
Subject: |
Re: uname -s |
Date: |
Wed, 23 Oct 2002 22:40:46 +0300 (EEST) |
On Tue, 22 Oct 2002, Robert Millan wrote:
> > I think uname -s should print: GNUmach.
>
> That would break scripts that rely on uname -s.
>
> On the other hand, I think uname is wrong in changing the -s,
> which has always corresponded to "system", into kernel
> just because Linux, the kernel, claims to be the OS on
> GNU/Linux' "uname -s".
I don't understand.
$ uname --help
Usage: uname [OPTION]...
Print certain system information. With no OPTION, same as -s.
-a, --all print all information, in the following order:
-s, --kernel-name print the kernel name
-n, --nodename print the network node hostname
-r, --kernel-release print the kernel release
-v, --kernel-version print the kernel version
-m, --machine print the machine hardware name
-p, --processor print the processor type
-i, --hardware-platform print the hardware platform
-o, --operating-system print the operating system
--help display this help and exit
--version output version information and exit
Report bugs to <bug-sh-utils@gnu.org>.
$ uname --version
uname (sh-utils) 2.0.12
Written by David MacKenzie.
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
$ uname -s
Linux
$ uname -o
GNU/Linux
$
Does this help?
Petri
- uname -s, Petri Koistinen, 2002/10/21
- Re: uname -s, Robert Millan, 2002/10/23
- Re: uname -s,
Petri Koistinen <=
- Re: uname -s, Thomas Bushnell, BSG, 2002/10/23
- Re: uname -s, Robert Millan, 2002/10/24
- Re: uname -s, Thomas Bushnell, BSG, 2002/10/24
- Re: uname -s, Robert Millan, 2002/10/24
- Re: uname -s, Thomas Bushnell, BSG, 2002/10/25
- Re: uname -s and naming confusion, Tom Hart, 2002/10/25
- Re: uname -s and naming confusion, Thomas Bushnell, BSG, 2002/10/25