e.g I want to add
127.0.0.1 www.google.com
to the /etc/hosts file from server using C programming language.
|
Questions on Unix & Linux Stack Exchange are expected to relate to Unix or Linux within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.