I am trying to create a new file (blank file) with:
dd if=/dev/zero of=file.txt count=10240 bs=10240
I also want to use dialog output --gauge, something like this:
dd if=/dev/zero | pv | dd of=output.dat count=10240 bs=102400 iflag=fullblock | dialog --gauge "testing" 10 70 0
I have also tried variations of:
(pv -n /dev/zero | dd if=/dev/zero of=output.dat bs=1000M count=1) | dialog --guage "Creating a file..." 10 70 0
However it doesn't work, is just lets me know when the file is completed.