Re: How do I change the "Computer Name?"

Originally Posted by
GregA
Hello All,
I've setup an older laptop with Kubuntu, Xubuntu, and Lubuntu. Everthing runs well, but I made a typo when adding the Computer name during the install process.
What file would I edit to change the Computer Name? . . . or maybe there's a gui application to accomplish the same?
Appreciate any info . . . thanks.
Greg
if it a temporary thing thing then just
Code:
hostname <desired name>
this will take immediate effect but will be lost after reboot.
If you want the prompt to change then
Code:
PS1="desired name at prompt : "
this can be different to actual hostname.
Feel Free to Bitcoin Tip: 135Rp4pwwYTHEJ4u8bxKaDQiC91N9LUoV2
Backtrack - Giving machine guns to monkeys since 2006
Kali-Linux - Adding a grenade launcher to the machine guns since 2013
Bookmarks