How to write a linux shell script to monitor whether the remote port 80 is open?
Scan with nmap port: \ x0d \ nmap-v-STIP address \ x0d \ or use netcat(nc) or telnet \ x0d \ x0d \ z-w10ip _ addressbort (echo $? Zero means connected) \x0d\telnet ip_address port (received information means connected).