How to Edit Your Hosts File on Linux, Windows, and macOS
https://linuxize.com/post/how-to-edit-your-hosts-file/
WebDec 2, 2019 · Modify Hosts File in Linux. On Linux, the full path to the file is /etc/hosts. The instructions below are valid for all Linux distribution, including Ubuntu, CentOS, RHEL, Debian, and Linux Mint: In your terminal window, open the hosts file using your favorite text editor : sudo nano /etc/hosts. When prompted, enter your sudo password.
DA: 75 PA: 61 MOZ Rank: 27 Up or Down: Up