OSU Computational Physics - Landau Research Group (nacse) -
Next 7: Editing Files  Up 6: Viewing Files  Prev 6.B: The tail Command  Contents

Basic

§ 6.C:  The View Command


The view command is a read-only version of the vi editor (we'll get to vi soon). The view command is comforting, it allows you to look at a file without the chance of messing it up. Try:

Unix should respond by printing the file on the screen. To move through the file, use some of the standard vi commands:

Now that you know how to view files, it's time to learn how to edit them.


7: Next Editing Files  6: Up Viewing Files  6.B: Prev The tail Command  Contents

Comments and questions to CP-unix@physics.orst.edu.