MacOS 终端 \ucas 用户名 -2
MacOS Terninal \u as username -2
我的 MacOS 终端中的用户名显示为 username-2
,而我不知道 -2
Last login: Mon Sep 3 17:59:39 on ttys001
501 HacSec-2:hacsec ~$
我得到了答案并使用以下命令将我的终端用户名修复为正常:
# sudo scutil --set HostName (Add Your Username Here)
更多信息请访问 this link
我的 MacOS 终端中的用户名显示为 username-2
,而我不知道 -2
Last login: Mon Sep 3 17:59:39 on ttys001
501 HacSec-2:hacsec ~$
我得到了答案并使用以下命令将我的终端用户名修复为正常:
# sudo scutil --set HostName (Add Your Username Here)
更多信息请访问 this link