Ubuntu 10.10 i have strange terminal prompt...

Asked by GREG T.

when i open the terminal it shows a bunch of numbers and letters behind my computer name
linuxer-ZC698JJ-ABA-SR5710ND :~$ . this is what it looks like ,it is also in the screen saver gltext
 how do i change this

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
GREG T.
Solved:
Last query:
Last reply:
Revision history for this message
François Tissandier (baloo) said :
#1

Are you sure not rather linuxer@⋅⋅⋅⋅⋅⋅ ?

It's the name of your account and the name of your computer.
Why do you want to change this ? Except for the screensaver, I don't think it's a big deal.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Please not that maverick is still beta. It is NOT ready and NOT stable.

Can you give the output of:

clear; echo "Hostname ="; cat /etc/hostname; echo; echo "hosts file ="; cat /etc/hosts

Thanks

Revision history for this message
GREG T. (ubuntuer) said :
#3

here you go
ubuntuer@ubuntuer-GC668AA-ABA-SR5110NX:~$ clear; echo "Hostname ="; cat /etc/hostname; echo; echo "hosts file =";

Hostname =
ubuntuer-GC668AA-ABA-SR5110NX

hosts file =
ubuntuer@ubuntuer-GC668AA-ABA-SR5110NX:~$ cat /etc/hosts

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Than that is your host name, it's the name of the PC on the network.

If you want to edit it then run:

gksudo gedit /etc/hosts; gksudo gedit /etc/hostname

and change both to be EXACTLY EXACTLY EXACTLY the same. If you put 2 different names in the files (case counts too) then you WILL get issues, hence me labouring EXACTLY.

Reboot and it will be fine.

Revision history for this message
GREG T. (ubuntuer) said :
#5

worked great ! thank you .

Revision history for this message
zeecat (chefantony) said :
#6

Unsubscribe