Why Linux Powers the Internet
📖 Scenario: You are a system administrator learning why Linux is the backbone of the internet. You will explore simple Linux commands and concepts that show Linux's power and flexibility in managing internet services.
🎯 Goal: Build a small script that lists active network connections, filters those related to internet services, and counts them. This will help you understand how Linux manages internet traffic.
📋 What You'll Learn
Use the
ss command to list network connectionsCreate a variable called
connections to store the output of ss -tulnCreate a variable called
internet_connections to filter lines containing :80 or :443Count the number of internet connections and store it in
countPrint the count with a descriptive message
💡 Why This Matters
🌍 Real World
System administrators use Linux commands and scripts like this to monitor and manage internet services on servers.
💼 Career
Understanding Linux networking commands is essential for roles in IT support, network administration, and cybersecurity.
Progress0 / 4 steps