head.daveops.net

Snippets for yer computer needs

Networking

Networking

traceroute/ping ————— (as root)

mtr google.com

list listening ports

netstat -plunt

Alarm when ping is successful

ping -i 60 -a IP_address

get external ip

curl ipecho.net/plain curl ifconfig.me