This question already has an answer here:
- su vs sudo -s vs sudo -i vs sudo bash 3 answers
I have a question on sudo -i and sudo -s on APPLE. When I use sudo -i, it will change to "root" this user. I use sudo -s and this has the similar situation but there is a "bash-3.2#" on my terminal. I don't know where it is and what it is meaning for. This is the first question.
I normally think it show as "mycomputername:~ myusername$". The first string is "mycomputername" and the second string is "myusername" which is also only one user on my computer. There is a weird scenario when I switch to "root" via "sudo -i". It shows up "googleapis:~ root#". I don't know why it looks like this. Why it shows up "googleapis"?