how to edit etc/hosts linux error readonly e45 code example
Example 1: how to edit etc/hosts linux error readonly e45
sudo vim /etc/hosts or sudo nano /etc/hosts
Example 2: how to edit etc/hosts linux error readonly
$ chattr -i /etc/hosts
sudo vim /etc/hosts or sudo nano /etc/hosts
$ chattr -i /etc/hosts