Of course, if the file contains more than a screen s worth of information, catspews it all out at one time like a big hairball, and all but the last screen oftext scrolls off the screen. It s a good thing that you have some otherchoices. The one you re likely to choose is less, which displays the contentsof a file a full screen at a time. Then you press the spacebar to continue tothe next screen. You can also use the arrow keys to move up and down oneline at a time, if you want. An alternative to lessis more. The main difference between the two is thatwith more, you can move only forward through the file and see only ascreen s worth of information at a time. You can t back up. To use either lessor more, the format is similar to the format used with thecatcommand: less filenameor more filename. When you finish readingthe document, press Q to exit. Editing Text Files with nanoIf you aren t using (or can t use) the GUI, then you have numerous text edi- tors available to you. The most powerful of these are viand emacs, whichyou ll hear many people go on about. However, both these programs requirea learning curve. For beginners who want to just edit the dang file and moveon, I recommend nanoand pico. These two editors are very similar, and oneor the other is typically included with most Linux distribution (but, unfortu- nately, not all). The friendly text editors included with the distributions dis- cussed in this book are Fedora:nano Knoppix:None. Linspire:None; see Chapter 12 add one Mandrake:None; see Chapter 12 to add one (jedand joeare both available) SuSE:pico Xandros:editor, which has a menu of function keys at the bottom of itsscreenTo open a file in nano, type nano filename, such as nano file1. This actionopens the file in the nanoeditor, as shown in Figure 16-1. You can then edit or type in that file as much as you need to. 310Part IV:Getting Things Done