In Linux how can I create a large file with a given text or hex pattern (Like DEADBEEFDEADBEEFDEADBEEF ....)
I know dd can be used to create large files but it doesn't write desired text or hex pattern
dd if=/dev/urandom of=/tmp/bigfile bs=blocksize count=size
dd if=/dev/zero of=/tmp/bigfile bs=blocksize count=size
Quickly create a large file on a Linux system?
How to create a file with a given size in Linux?