Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jan 202010

How to create an empty file in Linux


A simple touch command will create an empty file for you.

# touch test.txt

  One Response to “How to create an empty file in Linux”

  1. [...] using the touch command, any easy tricks is to use the > redirection, [...]

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>