What is ex and vi? Explain their purposes.ex – the line editor mode of ‘vi’ editor. It allows to
- write LISP programs - list all the files saved as the result of an editor or system crash -prevent the accidental overwriting of files -encrypt and decrypt the files
vi – screen oriented visual editor. It performs almost all the operations that are supported by ex. It has the additional features to edit, save lines and files. It provides the cursor movement options, editing options. Useful to write shell scripting in Linux/Unix.
|