While trying to attempt one of the exercise on DNS Lab, I got this permission error. Can anyone help with it, please?
@dhikr, you can switch to root using sudo -i command and then use cat command as shown in screenshot.
Another way is directly using vi editor using sudo vi /etc/hosts