Home > Hosts File > Cannot Edit Hosts File Ubuntu
Cannot Edit Hosts File Ubuntu
Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. but from where i can get all "ips and corresponding hostname for shared" October 17, 2011 daniel I´m setting up an svn repository on a Network Attached Storage device, connected to in above xample shown 0.0.0.0 its working….??? business_kid View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by business_kid 03-14-2012, 05:32 AM #3 Iyyappan Member Registered: Dec 2008 Location: Chennai, http://skimwp.org/hosts-file/cannot-edit-hosts-file-mac-os.php
How to find the problem? Graph Chromatic Number Problem Options for Mass-Cursing for a Warlock? That's the acid test of whether you have write permissions. However, if you open the hosts file, you’ll quickly notice that it doesn’t have the directory of the entire Internet in there. http://askubuntu.com/questions/343514/how-do-i-edit-the-etc-hosts-file
Ubuntu Hosts File Example
To do this just enter in the following after the # mark. 0.0.0.0 www.facebook.com Now that you have edited your Hosts file make sure to save it. asked 4 years ago viewed 1655 times active 4 years ago Related 0etc/hosts question2How can I modify my hosts file? Understanding Hosts File Syntax In the hosts file, here, each entry is on its own line. For example: sudo chown your_username file_or_directory Check man chown and man chmod for more information.
- Read More wouldn’t hurt), it’s not a bad idea to play around with it to familiarize yourself.
- In more than one way. –Oli♦ Sep 9 '13 at 21:57 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign
- For the last line just type >EOF and it might write it.
- You can use it to block sites that you don’t want a PC to be able to access.
Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. You need to pass 1 argument: the path to the file you want to edit (in this case /etc/hosts). Let us know in the comments! Ubuntu 14.04 Hosts File I tried this: 127.0.0.1 22.214.171.124:3333 Thanks in advance!
First skills to learn for mountaineering Interconnectivity How do i upgrade my wall sconces Actual meaning of 'After all' Wien's oscillator - amplitude stabilization with Zeners (loop's gain) My manager said Ubuntu Change Hosts File Restart Now comes the tricky part that i´m still trying to figure out… I have some svn:externals references set up in the project, binding it to some other library-projects. What is the simplest way to put some text at the beginning of a line and to put some text at the center of the same line? My manager said I spend too much time on Stack Exchange.
In order to edit the file you will need to open it as root which is why we use sudo here. Ubuntu /etc/hosts Example Thanks –Jim Sep 9 '13 at 22:07 add a comment| 5 Answers 5 active oldest votes up vote 16 down vote The easiest way (most GUI) would be to use gedit. Browse other questions tagged ubuntu hosts or ask your own question. Results 1 to 3 of 3 Thread: How edit hosts file Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode
Ubuntu Change Hosts File Restart
Adv Reply December 11th, 2012 #3 McNils View Profile View Forum Posts Private Message Frothy Coffee! http://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/ Now that it is open we can edit it to redirect Facebook into nothing. Ubuntu Hosts File Example I start to explain about chown because the question was initially tagged with 'ownership'. –Radu Rădeanu Sep 9 '13 at 21:14 add a comment| up vote 5 down vote You should Ubuntu Hosts File Not Working An effective layer of protection.
Read More . http://skimwp.org/hosts-file/cannot-edit-hosts-file-in-xp.php For most needs you will only need to edit it the top section and ignore the IP6. The full command: sudo -i gedit /etc/hosts share|improve this answer edited Sep 9 '13 at 21:58 Oli♦ 173k57437648 answered Sep 9 '13 at 21:12 Joren 2,72562444 1 Or you can They were used to resolve hosts names before DNS. Sudo Gedit Etc Hosts
newenvironment vs newcommand? What is the difference between "lata" and "bote"? I've reinstalled and it is no longer a read-only system. useful reference In order to get access you need to get super user privileges and that is sudo.
Are the LMDB files cross-platfrom compatible? Host File Windows anyone know if that can be done? Add-in salt to injury?
Are the LMDB files cross-platfrom compatible?
The file will look a bit more like Windows, only with a little less explanation. September 1, 2010 Zymastorik This doesn't actually block access to these sites. But if you wanted to block Facebook on that computer, you can add an entry in the hosts file that tells your computer that facebook.com points to some other IP address What Is The Absolute Path For The Hostname File In Linux What's the name of this output connector of ac adaptor Word or phrase for "using excessive amount of technology to solve a low-tech task" Protecting the breakout pins "PermitRootLogin no" in
Thanks permissions share|improve this question edited Sep 9 '13 at 20:58 Jorge Castro 24.9k91387590 asked Sep 9 '13 at 20:40 Jim 96113 Jorge, perhaps I'm going the wrong direction systemadminthings.com/2012/05/…. Correct formulation of axiom of choice First skills to learn for mountaineering What is exactly meant by a "data set"? http://skimwp.org/hosts-file/cannot-edit-hosts-file-xp.php The time now is 04:21 PM.
share|improve this answer edited Sep 9 '13 at 22:01 Oli♦ 173k57437648 answered Sep 9 '13 at 20:45 Fahad Yousuf 75559 add a comment| up vote 0 down vote Open a terminal Tank-Fighting Alien How did early mathematicians make it without Set theory? Just search for Notepad, then right-click on Notepad in the search results list, and choose to run it as administrator. But, as you can see, that problem can be solved. –Radu Rădeanu Sep 9 '13 at 21:02 4 I don't think chowning /etc/hosts to a user account is a good
Therefore you need to use nano instead of gedit, mousepad or whatever your default editor is... nano or vi). He's always looking for a good way to translate geek to english. Read more.
Protecting the breakout pins Why did the best potions master have greasy hair?