By popular demand, the Valentine's Day Offer has been extended to the weekend Flat 25% off on all courses. Use coupon code VDAY25 During checkout

 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.

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


touch myemptyfile.txt