Using VI for basic editing in unix

1. Use vi text editor by entering vi (and file name)
2. Use the arrow keys to move the cursor.
3. Press i to enter Input mode.
4. Press ESC, followed by : to exit Input Mode.
5. The cursor will move to the bottom of the screen.
6. Enter wq! to save the file and exit.