hide random home http://www.fmi.uni-passau.de/archive/doc/unix/unixhelp/Unixhelp/vi_four.html (Einblicke ins Internet, 10/1995)

Viewing a file

Viewing a file

You can look at a file without the risk of altering its contents by using vi in "read only" mode. To do this, use the command:

view filename

The message [Read only] is displayed at the bottom of the screen.

You then use the same commands as you would in vi to move around, search for text and quit view.