I know this is an old thread, but a search brought me here yesterday. I'm running embedded Linux on a SoM that uses a variant of: Yocto Project™ 3.2 (gatesgarth), so everything is scaled back a bit, but I could not pipe ping results to a file unless I did this squirrely thing:
ping 10.0.0.2 -4...