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

Hint-

touch myemptyfile.txt