Skip to main content

9.6) Exercise 7: Solution


At the command prompt type:

emacs file10

Exit the file when finished using ‘Ctrl’ plus ‘x’ and ‘c’ and type ‘y’)

Then try:

more file10

and for a short file like this it will show the whole contents. If the file contents is very large then use the spacebar to scan through the file and ‘q’ to quit at any time.

Lastly, use:

cat file10

and it will show the file contents to the screen.