How to solve resolv.conf in ubuntu - failed removing file /etc/resolv.conf Operation not permitted
Channel:
Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=MOjSruv43NQ
i want to change the content or remove file at /etc/resolv.conf, but getting this error:
readony option is set (add ! to override), /etc/resolv.conf E212: Can't open file for writing
and
rm: cannot remove '/etc/resolv.conf': Operation not permitted
----
resolution:
sudo chattr -i /etc/resolv.conf
Other Videos By Ambar Hasbiyatmoko
Tags:
resolv.conf
network
ubuntu
resolver
linux
terminal
remove
root
sudo
dns
hostname
search
interface
file