Bash Script
Do you want to know what software is listening in your server? Netstat can help you.
netstat -ant