Skip to content

Latest commit

 

History

History

0x08-networking_basics_2

Networking basics #1

In this project, I continued to learn about IP addresses while practicing manipulating them with Bash scripts.

Tasks 📃

  • 0. Change your home IP

    • 0-change_your_home_IP: Bash script that configures an Ubuntu server as follows:
    • localhost resolves to 127.0.0.2
    • facebook.com resolves to 8.8.8.8
  • 1. Show attached IPs

  • 2. Port listening on localhost

Description

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.

Author

Acknowledgements 🙏

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.

ALX Africa Logo