How to change hostname through simple commands