Say I have one file (foo) containing "aaaaaaaaaaaaaaaaaaaa"
and another file (bar) containing "bbbbb"
I want to be able to copy the contents of bar into the first 5 bytes of foo.
My first attempt was
dd if=bar, of=foo, ds=1, count =5
After runnint that, bar still contained "aaaaaaaaaaaaaaaaaaaa"
I would use the actual files, but one is 256Mib, and the other is 1.6 TiB