Thursday, February 7, 2013

My First TIme Using MacBook

How to replace Hostname/ComputerName ?

Apropos hostname didn't show any thing about how to replace hostname. Then try other command, i'm usually using man when seeking manual on BSD Unix & Linux, and from man  i got other command  scutil(8)., aha a new command. What is scutil?  From manual page give me information about scutil (Manage system configuration parameters). 

Now how to replace ComputerName & Hostname? :

$sudo scutil --set ComputerName Monyet
$sudo scutil --set LocalHostName Monyet
$sudo scutil --set HostName Monyet


Post a Comment