Changing the hostname displayed in the iTerm2 terminal
As shown above, routers can assign a wide variety of hostnames, so the hostname tends to change every time you open a shell. To solve this problem, you need to
GGAMI
Last login: Tue May 27 15:50:58 on ttys000
jaesung@dev-api.local ~ %As shown above, routers can assign a wide variety of hostnames, so the hostname tends to change every time you open a shell.