當(dāng)mac重新設(shè)置用戶的時(shí)候饺蔑,命令行提示還是顯示之前的信息授艰,所以有需要調(diào)整命令行提示信息: $sudo scutil --set HostName [你想要的新hostname]