use hostname instead of hostname -s
hostname -s is not available on every implementation of hostname, e.g. Cygwin uses hostname from coreutils which doesn't work.
Please register or sign in to comment
hostname -s is not available on every implementation of hostname, e.g. Cygwin uses hostname from coreutils which doesn't work.