previous contents up next

Unix for Advanced Users

6. Manipulating Files

6.2. Viewing Files and File Parameters

6.2.1. vi, the default Unix Editor

You can view an ASCII file relatively easily by simply firing up the Unix editor vi:
  vi <filename>

You can also look at multiple files in a row by doing

 vi <filename1> <filename2> <filename3> ...

and using the :n command from within vi to move to the next file.

Instructions on how to move within a file are discussed in the using vi section.

previous contents up next