Your destination for complete Tech news

How to create an empty file in Ubuntu Linux?

981 0
< 1 min read

By simply using a touch command, you can create empty files in Linux without using any text editors.

To create an empty file, use the touch command as shown in the example below,

touch filename.txt

You can use the touch command to create multiple files at once. Just add the names of multiple files with space as shown in the example below.

touch filename1.txt filename2.txt

Leave A Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.