#!/bin/bash iface=eth0 d="$(date +'%Y%m%d')" ip=213.168.186.130 tcpdump -i $iface -s 0 -C 100 -W 99 -U -w /var/log/sledovani-$d.$iface