@stino you'll need to use the sudo command to elevate to root privileges. Without sudo at the beginning, you won't have write access to the file. Also, you'll need to open this in an editor, so try sudo nano /etc/dnsmasq.conf which should open in the nano text editor for you to mess with. Remember to save when exiting with ctrl x