Why `dd` Doesn’t Support Arithmetic in Parameters
[md] The dd command doesn’t evaluate arithmetic expressions in its parameters. If you try this: $ dd if=/dev/zero of=./4Ktest100M bs=4KB count=25000*9 dd: invalid number ‘25000*9′ You’ll get an error because dd expects literal numeric values, not expressions. The shell doesn’t expand 25000*9 as arithmetic — it’s passed to dd as a literal string. ## Using…
