1

This was a weird output I came across. Running the "last" command gave me this output

gryphon  pts/0        192.168.0.108    Wed Mar 19 21:04   still logged in
gryphon  pts/0        s0106d850e695678 Wed Mar 19 13:53 - 13:54  (00:01)
gryphon  pts/0        192.168.0.108    Tue Mar 18 22:57 - 23:03  (00:06)

I'm pretty sure that the weird IP address was me but what is up with the garbage for the IP address?

I do not have an IPV6 address. It's just a weird hostname I don't have anything named that. I might have been VPN'ing in would that have anything to do with it?

  • 1
    Do you have an ipv6 address? – Elliott Frisch Mar 20 '14 at 3:21
  • @ElliottFrisch doesn't look like a v6 address to me. you'd see more ::s and :s. – strugee Mar 20 '14 at 4:25
4

As Ricky Beam mentioned, it is a hostname, but sadly, it was too long and therefore cut off. If you want to display the entire host name without any trimming, run the command with the -F flag (capitalization matters).

$ last
andreas  pts/15       123-27-247-110.c Fri Jun 13 00:24 - 00:33  (00:08)    
$ last -w -F
andreas  pts/15       123-27-247-110.client.mchsi.com Fri Jun 13 00:24:24 2014 - Fri Jun 13 00:33:03 2014  (00:08)    
  • The related -w flag also used in the example displays the full date, not just a "minimal" version. – IQAndreas Jun 13 '14 at 7:02
1

That's not an address. It's a hostname. (or as much of it as will fit in a wtmp entry.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.