主机名始终从资本变为非资本并返回


0

我的Macbook空气被称为Johannes-Air。但是,当我打开终端时,它有时会说Johannes-Air,有时甚至是johannes-air。有谁知道为什么会发生这种情况以及如何阻止它?

Answers:


1

本地主机名(在“系统偏好设置”的“共享”面板中设置)首先检查它。

然后,如果您转到下面的路径,您可能会发现大写和小写主机名的痕迹删除其中一个并重新启动系统。

/Library/Preferences/SystemConfiguration/preferences.plist。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.