Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently installed windows 7 on a partition using bootcamp and all went well. Now i am trying to use terminal on my original mac partition on OSX but the command line comes up as:

myusername-Win7:~ username$

i am having trouble connecting to an ssh tunnel for lowering for WoW, could this be my problem as it looks like its using windows 7?

share|improve this question
If you run id -un you will get the username of the current logged in user for terminal. You can change who you are logged in with login command. – Kassym Dorsel Nov 4 '11 at 15:26
It might also be that your hostname got changed. Can you run hostname at the shell prompt (and also have a look at the system name in Preferences)? – patrix Nov 4 '11 at 18:11

Look's like somehow your computer has had it's name changed.

enter image description here

Changing your Mac’s computer name:

  1. Launch System Preferences
  2. Click the Sharing icon
  3. Type in what you want your Mac’s new computer name to be
  4. Close System Preferences
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.