Learning is Evolving |Flat 25% off on all courses | Use coupon code LEARN25 During checkout |

 Enroll Now

Linux Basics

16 / 87

Create Text File Using Nano

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

  1. Launch nano to edit:

    nano myfirstfile.txt
  2. Type the following text into it:

    He walked into his exile
  3. Press "Control+x" to save and then confirm by typing y