Linked Questions
28 questions linked to/from How do I change the hostname without a restart?
30
votes
6
answers
538k
views
How to edit read-only file in /etc? [duplicate]
I'm a brand new user so I'm not sure of my way around the system yet. I want to change my computer's name, so I tried to edit the name in /etc/hostname, but it is a read-only file. Adding the ! ...
7
votes
2
answers
59k
views
How to change my device name? [duplicate]
I want to change my device name but I have not found any option in the settings to do it. I am using Ubuntu for first time. Is there any way to change the device name that appears when I lock the ...
6
votes
2
answers
7k
views
I want to change the host name - is it enough to edit the /etc/hosts file? [duplicate]
Short version
Can I just edit the /etc/hosts file, meaning can I login as user@<hostname I wish to change> without unintentionally breaking something? Would this be enough or is there something ...
3
votes
2
answers
14k
views
Changing computer name [duplicate]
Can someone tell me how to change the computer name on a pc, I've tried to edit the /etc/hostname file but it won't allow me access to save the amended file, thought the user the system created was ...
19
votes
0
answers
84k
views
Change computer name after installing Ubuntu 14.04 [duplicate]
I wanted to change my computer name after I installed Ubuntu 14.04 LTS. How can I do this? Your help and information will be greatly appreciated.
4
votes
3
answers
1k
views
Change Machine Name [duplicate]
How to change machine name in Ubuntu; as in my case it is written as Lenov@G500, and I want to change both names i. Lenovo and G500.
how it can be done through Terminal.
2
votes
1
answer
1k
views
How do I change hostname? [duplicate]
The hostname of my name is very long, which is odd. How can change the hostname for my system?
My hostname, currently, is
himanshu@himanshu-Lenovo-ideapad-100-15IBD:~$
Is there any way I can ...
0
votes
1
answer
4k
views
sudo unable to resolve host error message [duplicate]
I changed my hostname in:
/etc/hostname
And then also changed it with:
sudo hostname MATRIX
But I experienced a problem because (and I don't know if this is related or not) none of my applications ...
1
vote
2
answers
3k
views
Terminal Username [duplicate]
So I am new to Linux and whenever I open up my terminal, my username is gansaikhan@gansaikhan: ; So my question is how can I change this terminal username to something like maybe gansaikhan@ubuntu: ......
0
votes
2
answers
2k
views
How to change the text after username@ in Ubuntu [duplicate]
I just installed Ubuntu and opened an admin panel where I saw that I accidentally allowed the system to use my laptop's name. Can anyone suggest how would I remove it?
0
votes
1
answer
1k
views
How to change hostname [duplicate]
I have updated my system's hostname in /etc/hostname file as master. I have also mapped my /etc/hosts file like
<ip> master
Still, when I type $ hostname, I get a different hostname.
I ...
0
votes
1
answer
311
views
How do I change host name [duplicate]
Getting 'unable to resolve host' error and need to change name. How do I do this?
Hostname is brian-HP-G60-Notebook-PC
$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 linux
# The following lines ...
1
vote
0
answers
258
views
Abnormal long prompt / change username & computer name [duplicate]
I've just tested out Ubuntu 16.04, my first time with Linux.
Now I installed it just to try, and found out that u like it!
However, since this was only a test, I didn't select username and computer ...
1
vote
0
answers
49
views
How to change hostname on a ubuntu server 18.04 [duplicate]
I have a problem with a new server with Ubuntu 18.04.
I try to change the host name more times, with different method, like editing /etc/hostname or hostnamectl --set-hostname ecc ecc. But when I ...
385
votes
14
answers
817k
views
How do I change the computer name?
When I connect to my server (ubuntu server 10.10), I get this:
[email protected] ~>
How can I remove ".belkin"?