Linux Basics

You are currently auditing this course.
22 / 107

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.

INSTRUCTIONS
  • Type cd ~ command to go to your home directory
  • Create an empty file named myemptyfile.txt in your home directory.

Loading comments...