4.4.1. Create new file#

To create a new file, use nano followed by the name of the file you would like to create.

For example:

nano exercise.txt

This will open the file for writing (Fig. 79).

../../_images/nano-create-file.png

Fig. 79 Creating a file in nano#

You can start typing text at this stage.