You can use one of the following 3 commands to create an empty file on Linux systems:
~$ touch filename
~$ > filename
~$ filename < /dev/null
Minimal website with a mess of tips for more expert users…
You can use one of the following 3 commands to create an empty file on Linux systems:
~$ touch filename
~$ > filename
~$ filename < /dev/null