bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7938: uname --version BUG


From: Paul Eggert
Subject: bug#7938: uname --version BUG
Date: Sun, 30 Jan 2011 09:22:28 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 01/29/2011 03:25 PM, Karan Dhindsa wrote:
> When I type the command:
>> uname --version
> 
> it says "illegal option -- version".

Check your $PATH.  I expect you're running the Solaris 'uname',
not coreutils 'uname'.  On my Solaris 10 host:

$ /usr/bin/uname --version
/usr/bin/uname: illegal option -- version
usage:  uname [-snrvmapiX]
        uname [-S system_name]
$ /opt/sfw/bin/uname --version
uname (GNU coreutils) 5.93
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]