You can use a text editor to edit or create a text file. There are many editors in Linux such as nano, pico, vi, emacs. Let's try to use nano for creating a file
Launch nano to edit:
Type the following text into it:
He walked into his exile
Press Control+x and afterward press "y" to Save Changes
Hit enter to exit the nano editor
In case, you are stuck, please see this video: Demo - Create Text File Using Nano - Video
Taking you to the next exercise in seconds...