Gary Benson: Use stdbuf to tee without buffering
Do you want to tee the output of a command to a file, but see it in your terminal too, without buffering? The stdbuf command can do this for you:
$ sudo stdbuf –output=L tcpdump -i any -tttt -n ‘udp port 5353’ | tee -a tcpdump-mdns
tcpdump: data lin…
The Linux Foundation celebrates our diverse and inclusive LGBTQIA+ community.