Hands-on task
This task is step 4 of the course “Networking and HTTP from the terminal”
ss: how many ports are listening
Count how many TCP sockets are in the LISTEN state and write the number to /root/count.txt.
What you'll practise:
- ss
- tcp sockets
- listen state
- wc
- pipelines