Quantcast
Channel: `sudo visudo /etc/hosts` gives syntax errors - Ask Ubuntu
Browsing latest articles
Browse All 2 View Live

Answer by Artur Meinild for `sudo visudo /etc/hosts` gives syntax errors

visudo is a command designed to edit the /etc/sudoers file (and only that file), and perform an integrity check that ensures the file is valid.If you give it a file as an argument, it will look for...

View Article


`sudo visudo /etc/hosts` gives syntax errors

Really dumb question, Ubuntu 20, and I have apache2 installed, not much else.I go sudo visudo /etc/hosts and want to add an alias "dummy.com" domain alias as a hack to point to the server for local...

View Article
Browsing latest articles
Browse All 2 View Live