From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27551 invoked by alias); 11 Oct 2010 16:01:35 -0000 Received: (qmail 27526 invoked by uid 22791); 11 Oct 2010 16:01:33 -0000 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 Received: from out5.smtp.messagingengine.com (HELO out5.smtp.messagingengine.com) (66.111.4.29) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 Oct 2010 16:01:29 +0000 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id 7FC051DC for ; Mon, 11 Oct 2010 12:01:27 -0400 (EDT) Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute3.internal (MEProxy); Mon, 11 Oct 2010 12:01:27 -0400 Received: from [158.147.71.25] (158-147-71-25.harris.com [158.147.71.25]) by mail.messagingengine.com (Postfix) with ESMTPSA id 422115E2968; Mon, 11 Oct 2010 12:01:27 -0400 (EDT) Message-ID: <4CB334D6.8040700@cwilson.fastmail.fm> Date: Mon, 11 Oct 2010 16:01:00 -0000 From: Charles Wilson Reply-To: Charles Wilson 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@cygwin.com Subject: Re: hostname command References: <7E93C5822639AC4B917B413898A805AAA431EA7FAC@ADM-EXMBX0CD.adm.c.sdu.dk> <4CB31EEC.3050605@redhat.com> In-Reply-To: <4CB31EEC.3050605@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-10/txt/msg00252.txt.bz2 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