Whenever I do 'sudo' I get an error saying 'sudo: unable to resolve host HP-Pavilion'. I recently change my hostname to "HP-Pavilion". I wonder if I screw up something.
$ sudo mkdir SourceCodePro
sudo: unable to resolve host HP-Pavilion
[sudo] password for mike:
Thank you for your help.
none
is displayed instead of hostname), while here it is not the case. The questions are related but not exactly the same, as is also apparent from the titles. – texnic Jun 11 '17 at 19:41