---

Best Ways to Create a File in Linux

You can create a file using touch command. To create a file using touch command run below command. It will create demo.txt file in the current directory: