Shell - Creating an empty file

October 2016

  • To create an empty file, type the following command:

> file
  • You can also use the touch command:

touch file

Related :

This document entitled « Shell - Creating an empty file » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.