Why does the terminal on my MacBook Pro seem to send me my iPad instead of the MacBook Pro itself?
--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puddle Jumping Looping
--
Chapters
00:00 Why Does The Terminal On My Macbook Pro Seem To Send Me My Ipad Instead Of The Macbook Pro Itself?
00:38 Accepted Answer Score 30
01:17 Thank you
--
Full question
https://superuser.com/questions/1595509/...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#macos #terminal #ipad
#avk47
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puddle Jumping Looping
--
Chapters
00:00 Why Does The Terminal On My Macbook Pro Seem To Send Me My Ipad Instead Of The Macbook Pro Itself?
00:38 Accepted Answer Score 30
01:17 Thank you
--
Full question
https://superuser.com/questions/1595509/...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#macos #terminal #ipad
#avk47
ACCEPTED ANSWER
Score 30
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
(orscutil --get ComputerName
orscutil --get LocalHostName
)