Port scanning basics
📖 Scenario: You are a network technician who needs to check which ports are open on a local server to ensure the services are running correctly.
🎯 Goal: Build a simple Bash script that scans a range of ports on a given IP address and reports which ports are open.
📋 What You'll Learn
Create a variable holding the target IP address
Create a variable holding the start and end port numbers
Use a loop to scan each port in the range
Check if the port is open using Bash built-in tools
Print the list of open ports
💡 Why This Matters
🌍 Real World
Network administrators often need to check which ports are open on servers to troubleshoot connectivity or security issues.
💼 Career
Basic port scanning skills help in network monitoring, security auditing, and system administration roles.
Progress0 / 4 steps