Could I change sudo nano /etc/hosts?
Can i add some lines to sudo nano/etc/hosts? It says "Do not Change this entry." Could i do that?
Thanks in advance 😀
MacBook Pro, Mac OS X (10.7.1)
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
Can i add some lines to sudo nano/etc/hosts? It says "Do not Change this entry." Could i do that?
Thanks in advance 😀
MacBook Pro, Mac OS X (10.7.1)
Sure, if you know what you're doing. Don't delete any of the existing entries, just add whatever additional hosts you want to define.
Just to clear one thing up - the filename is /etc/hosts, the text editor you're using to edit it is called "nano", and you're adding "sudo" to give yourself superuser privileges. So the whole command is indeed "sudo nano /etc/hosts", but you're adding lines to the hosts file.
Matt
Sure, if you know what you're doing. Don't delete any of the existing entries, just add whatever additional hosts you want to define.
Just to clear one thing up - the filename is /etc/hosts, the text editor you're using to edit it is called "nano", and you're adding "sudo" to give yourself superuser privileges. So the whole command is indeed "sudo nano /etc/hosts", but you're adding lines to the hosts file.
Matt
Thanks. 😀
What's this "sudo dscacheutil -flushcache"???
Why show this "when the system is booting. Do not change this entry."????
Can i add what i want between 127.0.0.1 localhost and 255.255.255.255 broadcasthost?
Why is saying i can't change the file, why can i unprotect? Explain me.
Thanks in advance 😝
Message was edited by: NunoPortugal
I urge you very strongly not to modify the hosts file. What are you trying to accomplish?
Could I change sudo nano /etc/hosts?