Write a Bash script that configures an Ubuntu server with the below requirements.
Requirements:
localhost
resolves to127.0.0.2
facebook.com
resolves to8.8.8.8
.
Write a Bash script that displays all active IPv4 IPs on the machine it’s executed on.
Write a Bash script that listens on port 98
on localhost
.