Looking at files
You can also use the cat command to display files on the screen.
cat sends the whole file to the screen without splitting it into
pages.
If there are more lines than can fit on the screen, you need
to use <Ctrl>S to control the scrolling.
Try looking at the file you typed with cat:
-
Type cd and press <Enter> to go to your home directory.
-
Type cat mytodo and press <Enter>.
(You could have typed cat $HOME/mytodo instead;
this would display the file mytodo from anywhere on the system.)
Next topic:
Using the vi editor
Previous topic:
Filenames
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003