# tcpdump -i any
# tcpdump -i eth0 tcp port 80
# tcpdump -i eth0 tcp port 80 or 443
# tcpdump -i eth0 icmp
# tcpdump -i eth0 icmp6

More details

Interesting blog post about tcpdump

Author: Anton Bracke

Software engineering student from Germany. Loves programming in PHP, JS and sometimes C.