2

What's nobody phrase in Terminal (and iTerm)? enter image description here

It sometimes changes to my Mac name. But why is it nobody and how to prevent it?

klanomath
  • 66,391
  • 9
  • 130
  • 201

1 Answers1

1

nobody is probably the hostname your system gets from a DHCP server. This also explains why sometimes you see the name you set yourself.

Check out Why is my host name wrong at the Terminal prompt when connected to a public WiFi network?

Volsk
  • 3,040