What's the meaning of the first two lines occurring after opening a Terminal window? I have an issue when I'm connected to public Wi-Fi networks with my Terminal,
When I run it, I see the following:

Last login: Sun Jul 26 11:58:02 on ttys001
Inbal-TOSH:~ chen$ 


'Inbal-TOSH' is a name of a computer in the network I guess. but I don't understand why am I seeing it.
Hostname can be set by the wifi network's DHCP server, but you can turn this off - see https://superuser.com/questions/49891/how-can-i-stop-mac-os-x-overriding-my-hostname-when-i-receive-a-dhcp-request-on