Why does the terminal on my MacBook Pro seem to send me my iPad instead of the MacBook Pro itself?

Solution 1:

More than likely your computer name just changed which is what is displayed in the CLI prompt. These commands via Terminal will shed some light as to the device you're using:

  • Confirm macos version: sw_vers
  • Check who is logged in: whoami
  • Confirm serial number: ioreg -l | grep IOPlatformSerialNumber

If these match your computer info, then change your computer name in “System Preferences -> Sharing.”

There are also additional 'hostnames' which may need to get fixed and can be checked via:

  • scutil --get HostName (or scutil --get ComputerName or scutil --get LocalHostName)