This is probably obvious, but Google seems to have let me down. I need to create a zero byte file with arbitrary names on Unix (AIX, ksh). What is a good command that will do this. Something I can script obviously.
Just to be clear Im not doing anything stupid. This is a script to generate certain testing scenarios. (Checking proper behavior when handling 0-byte files.)
I figured it out.
touch $filename
will do it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With