Linked Questions

16
votes
6answers
266k 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 ! ...
4
votes
2answers
34k 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
2answers
4k 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 ...
2
votes
2answers
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
0answers
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
3answers
493 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.
0
votes
1answer
3k 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
1answer
611 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
1answer
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
2answers
540 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
2answers
612 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
1answer
260 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
0answers
89 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 ...
0
votes
0answers
51 views

How do I change my hostname, and the files dependent on it? [duplicate]

I am a HUGE newbie when it comes to Ubuntu (16.04 Desktop), and Linux in general. My question is when I change my username I edit the following text files /etc/hostname and /etc/hosts, and then ...
1
vote
0answers
43 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 ...

15 30 50 per page