How do I change the format of the name in Terminal?
That's called your "prompt". You can define the PS1 variable to control it.

Add the following to your ~/.bashrc file:

PS1='\u@\h:\w\$ '


See the bash manual for more details.