hostname command

Charles Wilson
Mon Oct 11 16:01:00 GMT 2010

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!)


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list