Re: Ubuntu ignoring /etc/hosts file 10.04
It is nothing to do with Windows unless you are trying to do it from Windows - your Ubuntu installation should be in a Linux file-system which Windows can't change the contents in a valid way for your Ubuntu installation to remain bootable as far as I know - 3rd party apps for Windows could exist to allow this but I doubt you have one.
Originally Posted by LoneWolf218
Assuming you spell 'etc' correctly when you are in terminal you should use 'gksudo' because it is designed for launching 'g'nome applications with root privileges where sudo is designed for command-line programs - not severely invalid to 'sudo gedit' just more valid to 'gksudo gedit' instead.
An alternative thing to do is to open nautilus, the file browser, with root privileges and have a look around the system using that (much much more looking than touching)
The terminal you type that into may report a couple of errors but usually not enough to stop the 'rooted' file-browser appearing - whatever you 'spawn' from this file-browser will be spawned with root privileges so you can edit the system files, unpack archives belonging to root, and cause mayhem in your OS, just look at /etc/hosts for now ;)
Please be careful with 'rooted' nautilus and, if the terminal doesn't "free" when you close this instance of nautilus, press [CTRL]+[C] to free the command-line in the terminal.