例如
你要把 b 這個字寫到 50001 bytes
echo -n 'b' > ./tmp
dd if=./tmp of=YourFileHere conv=notrunc bs=500 seek=100
反正後面兩個數字乘起來是你要的大小就好(500*100=50000)
不過 bs=500~1000 應該比較適當
--
你要把 b 這個字寫到 50001 bytes
echo -n 'b' > ./tmp
dd if=./tmp of=YourFileHere conv=notrunc bs=500 seek=100
反正後面兩個數字乘起來是你要的大小就好(500*100=50000)
不過 bs=500~1000 應該比較適當
--
All Comments