修改本机HOSTNAME (change hostname in linux)

访问量: 557

Run this command in Terminal:

$ sudo scutil --set HostName larryx.local

This is also helpful if you’re in Terminal and have a really long hostname at your prompt. If you want to view your current hostname, run this command in Terminal:

$ hostname

订阅/RSS Feed

Subscribe

分类/category