Segala perkara dapat kutanggung di dalam Dia yang memberi kekuatan kepadaku (Phil 4:13)

Post Page Advertisement [Top]

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

No comments:

Post a Comment

Bottom Ad [Post Page]