When I open up a command line on my Mac the welcome message is usually
Last login date Johns-MacBook-Pro$
This now reads...
Last login: Fri Dec 18 23:48:34 on ttys000 Johns-MBP-2:~ johnw$
What does the -2 mean and why did this change? In between noticing these changes I moved between two different wireless networks; one being a regular Fi-Fi network, and the other being a portable hotspot off of a cell phone. I also downloaded a zip file. Could this be a virus? This doesn't appear so as running
users only returns my name and running
ac -p returns
root 0.05 johnw 7452.99 total 7453.04
Can someone please explain me to me why this changed? I do see setting hostname change in the console.
network changed: v4(en1!:my ip address from phone) DNS+ Proxy+ SMB configd: setting hostname to "Johns-MBP-2"
Is this from changing internet connections or could this be from malicious software? Or is this because I changed Wi-Fi credentials and opened new terminal windows when I had previous ones open from when I was using the other Wi-Fi networks?