I'm running a time dd command in a shell script, and I'd like to output the results to a file, and print it out on the screen. The line that I'm currently running is:
(time dd of=$dest_filepath if=$src_filepath bs=$block_size count=$block_count) >> $log_file 2>&1 &
Although that is leaving me with an empty file and doesn't output to screen. What would I need to do in order to do all three things?
Note that I'm running this in an embedded system with a Busybox installation which does not include tee so this isn't a duplicate of this question.