Bayu Krisnawan

Karena bagiku hidup adalah Kristus dan mati adalah keuntungan (Filipi 1:21)

Full width home advertisement

Travel the world

Climb the mountains

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]