When following various guides on using scutil
the following would seem to be correct for setting the hostname:
$sudo scutil –-set HostName doriath
>
But as you can see instead of setting the hostname a prompt >
is shown: and the hostname is not set. What is wrong here? I am on El Capitan
.