Copy n bytes of data x to file
You can send the zeros to stdout and translate them to 7, or what ever you like.
dd if=/dev/zero bs=1 count=10 | tr "\0" "\7" > file.bin
You can send the zeros to stdout and translate them to 7, or what ever you like.
dd if=/dev/zero bs=1 count=10 | tr "\0" "\7" > file.bin