Working with Editors
Richard A. Blum, Christine Bresnahan · 2015
This chapter discusses a few of the text editors in the Linux world. It explains the basics of using the vim editor to edit text shell script files. The vi editor was the original editor used on Unix systems. It used the console graphics mode to emulate a text-editing window, allowing you to see the lines of your file, move around within the file, and insert, edit, and replace text. The chapter describes both the console mode and graphical mode emacs editors to explain how to use either one if you want (or need) to. Popular Linux desktop environments (such as KDE and GNOME) have also provided graphical text editors. The chapter describes each of the editors and shows some of the features that can be used for shell script editing. It further presents the features of gedit and demonstrates how to use it for shell script programming.