A line editor is a type of text editor that works on a single line of text at a time. Line editors are commonly used for editing code and configuration files. They are also sometimes used for editing text files, although this is less common.
Line editors work by allowing you to edit a line of text, and then move to the next line. You can move up and down the lines of text, and make changes to the text on each line. Once you are done making changes, you can save the file and exit the line editor.
Line editors typically have a set of commands that you can use to edit the text. For example, you might have commands to move the cursor, delete characters, insert characters, and so on. Line editors typically also have a set of shortcuts that you can use to quickly edit the text.
There are a few different line editors available, but the most popular ones are Vi and Emacs.