• Get the list of all wireless networks reachable by the wlan0 interface:

    $ iwlist wlan0 scanning | grep ESSID
    
  • Get the IP address where a domain points to:

    $ host kevin.deldycke.com
    
  • Get different kind of DNS records of the example.com domain:

    $ dig example.com CNAME
    $ dig example.com MX
    
  • Get some informations about open ports:

    $ netstat --taupen
    $ netstat --lapute
    
  • Watch network activity in real-time:

    $ watch -n 1 "lsof -i"
    
  • Save all images passing through eth0:

    $ driftnet -i eth0 -a -d ./http-pics
    

Related content