Text edit in terminal code#
Each control code is typed by holding down the control key on your keyboard and then pressing a letter.įor example, hold down control and press x to Exit nano. The bottom of the screen lists the control codes that you can use. Instead of clicking on menus, you have control codes that you can type to save, close, etc. Note that the interface is completely text-based. You will now be running the nano editor and editing a file named hello.txt. You first need to be logged into Linux and open a terminal. Nano is among the easiest text editors to use, so let's get you started using nano. Some of the most popular/common are - vim, emacs, nano. There are many different text editors that are normally installed on Linux systems. The text files could be your programs, or they could be data files. One thing programmers need to do is edit text files.