[SOLVED] I want to remove the comment in the hosts file, is this ok?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I want to remove the comment in the hosts file, is this ok?
As the title suggests, I want to remove the last comment in the /etc/hosts file, so that I can add new lines and not have to write anything intricate to replace the last comment, which is merely:
It almost certainly won't cause any problem. Back up the file, remove the line and reboot to see what happens.
The only time I've heard of a commented line actually mattering is the first line of a script file which tells it what shell to run under despite starting with #
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.