Month-end Sale | Flat 70% Off on All Courses (Big Data, Data Science, AI/ML, Python) | Expires in

  Enroll Now

Linux Basics

15 / 87

Create File

A file is a sequence of bytes and represents data. It is found in a directory. A file could contain any kind of data: an executable program, data representing movies, music, pictures or plain text.

You can create an empty file using touch command. Please note that the extension of the file doesn't matter much in Unix.


Create an empty file named "myemptyfile.txt" in your home directory.