如何将终端登录作为我的mac帐户和现在的bootcamp分区?


0

我最近使用bootcamp在分区上安装了Windows 7,一切顺利。现在我想在OSX上的原始mac分区上使用终端,但命令行出现如下:

myusername-Win7:~username $

我无法连接到ssh隧道以降低WoW,这可能是我的问题,因为它看起来像使用Windows 7?


如果你跑 id -un 您将获得终端当前登录用户的用户名。您可以更改您登录的用户 login 命令。
Kassym Dorsel

1
也可能是您的主机名已更改。你能跑吗 hostname 在shell提示符下(还可以看一下Preferences中的系统名称)?
nohillside

Answers:


2

看起来就像你的计算机已经更改了它的名字。

enter image description here

更改Mac的计算机名称:

  1. 发射 System Preferences
  2. 点击 Sharing 图标
  3. 键入您想要Mac的新计算机名称
  4. System Preferences
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.