scutil provides a command line interface to the “dynamic store” data maintained byconfigd. [from the scutil manual]
sudo scutil --set HostName hostname[.domain]if the domain is not specified the hostname will be automatically configured as .local
全部博文(62)
分类: BSD
2011-10-30 21:26:43
scutil provides a command line interface to the “dynamic store” data maintained byconfigd. [from the scutil manual]
sudo scutil --set HostName hostname[.domain]if the domain is not specified the hostname will be automatically configured as .local