In this project, I continued to learn about IP addresses while practicing manipulating them with Bash scripts.
-
0. Change your home IP
- 0-change_your_home_IP: Bash script that configures an Ubuntu server as follows:
localhost
resolves to127.0.0.2
facebook.com
resolves to8.8.8.8
-
1. Show attached IPs
- 1-show_attached_IPs: Bash script that displays all active IPv4 IP's on the machine.
-
2. Port listening on localhost
- 100-port_listening_on_localhost: Bash script that listens on port
98
onlocalhost
.
- 100-port_listening_on_localhost: Bash script that listens on port
What you should learn from this project:
- What is localhost/127.0.0.1
- What is 0.0.0.0
- What is /etc/hosts
- How to display your machine’s active network interfaces
- What is localhost?
- What is 0.0.0.0?
- Write a Bash script that configures an Ubuntu server.
- 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.
- Prince Solomon - princexz
All work contained in this project was completed as part of the curriculum for ALX Africa SE. ALX Africa is an online full-stack software engineering program that prepares students for careers in the tech industry using project-based peer learning. For more information, visit this link.