public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
To: cygwin@cygwin.com
Subject: Re: hostname command
Date: Mon, 11 Oct 2010 16:01:00 -0000	[thread overview]
Message-ID: <4CB334D6.8040700@cwilson.fastmail.fm> (raw)
In-Reply-To: <4CB31EEC.3050605@redhat.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

      reply	other threads:[~2010-10-11 16:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-09  6:15 Hans Jørgen Aagaard Jensen
2010-10-11 14:28 ` Eric Blake
2010-10-11 16:01   ` Charles Wilson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CB334D6.8040700@cwilson.fastmail.fm \
    --to=cygwin@cwilson.fastmail.fm \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).