delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.1 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4CB334D6.8040700@cwilson.fastmail.fm> |
Date: | Mon, 11 Oct 2010 12:01:26 -0400 |
From: | Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm> |
Reply-To: | Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: hostname command |
References: | <7E93C5822639AC4B917B413898A805AAA431EA7FAC AT ADM-EXMBX0CD DOT adm DOT c DOT sdu DOT dk> <4CB31EEC DOT 3050605 AT redhat DOT com> |
In-Reply-To: | <4CB31EEC.3050605@redhat.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 10/11/2010 10:27 AM, Eric Blake wrote: >> PS. the builtin hostname in bash just ignore options. I am referring >> to /bin/hostname.exe. > > Bash does not have a builtin hostname. When you type hostname in bash, > you ARE using /bin/hostname, which is currently from coreutils. Also, you need to be sure about your PATH settings. I've been bitten several times when ClearCase's installation directory was "promoted" to the front of my path, and I accidentally used THEIR hostname executable -- which does something completely unexpected. (It's a GUI app!) -- Chuck -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |