Reputation: 2126
Ubuntu 12.04.5
terminal looking like : maxim@maxim-To-be-filled-by-O-E-M:~$
how remove -To-be-filled-by-O-E-M ?
This happen after Ubuntu reinstall.
Screenshot :
Upvotes: 0
Views: 6175
Reputation: 1
Just check whether you hostname is correct by typing
hostnamectl
And if it shows maxim@to-be-filled-by-oem
, simply type:
hostnamectl set-hostname new-hostname
Check again by typing:
hostname
and finally reopen terminal.
Upvotes: 0
Reputation: 2126
found problem:
rename host in /etc/hosts : 127.0.1.1 maxim-To-be-filled-by-O-E-M to maxim
and essential - rename hostname in file /etc/hostname from maxim-To-be-filled-by-O-E-M to maxim for example
Upvotes: 3
Reputation: 212208
It looks like it's part of your prompt. Try:
PS1='\$ '
Put it in your .bashrc to make the change persist across a reboot. Or try:
PS1='\u@\h\$ '
Upvotes: 2