Re: who/w/finger/last printing ip address
On 05/09/15 23:21, Michael Grant wrote:
I have to say in some ways this seems like a feature not a bug! I've
long missed the option some other unixes have to inhibit resolving the
name. But at the moment the hostname! Frankly, there should be an
option to w, who, finger, and last to not resolve the addresses.
Such options are clearly documented in the man pages for three of those
last -i prints IP addresses.
last -d prints resolved hostnames.
w -i or --ip-addr prints IP addresses.
who --ips prints IP addresses instead of hostnames
who --lookup attempts to canonicalize hostnames
There doesn't appear to be a corresponding option for finger.