Print and save the ping results of 25 requests to "google.com" in "/home/user/myLogFile.log" containing at most 100000 bytes
ping -c 25 google.com | tee >(split -d -b 100000 - /home/user/myLogFile.log)