Maxim Akristiniy
Maxim Akristiniy

Reputation: 2126

terminal giving prefix : To-be-filled-by-O-E-M

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 : enter image description here

Upvotes: 0

Views: 6175

Answers (3)

user28313439
user28313439

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

Maxim Akristiniy
Maxim Akristiniy

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

William Pursell
William Pursell

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

Related Questions