Block website access in Linux
Answer:
The simple way to block access to web site is to change the hosts file.
1. Open the hosts file
# sudo vi /etc/hosts
2. Change the content, such as...
0.0.0.0 microsoft.com
0.0.0.0 oracle.com
3. Save the file.