'touch' will not make the file size empty if the file is not empty. I don't not want to use 'rm -f' first then touch because I might accidentally remove something if I type anything wrong. Could somebody let me a better way to create an empty file?
- How to create an empty file? Peng Yu
- Re: How to create an empty file? Mike Frysinger
- Re: How to create an empty file? Jim Meyering