Wrong Root Name Appearing in Terminal | MacOS
Ok So you can give a name to your HostName :
sudo scutil --set Hostname &quot;The name you want&quot;

You will have to give your password for this operation. And it's nor appear when you give it.