Like what you see? Get it in one document for easy printing!
Click Here!

Custom Search







Table Of Contents  CertiGuide to A+ (A+ 4 Real)
 9  Chapter 5: The Linux Operating System
      9  Basic Concepts and Procedures for Creating, Viewing and Editing Files and Directories
           9  Common Commands

Previous Topic/Section
more, less - Peruse A File One Screen at a Time
Previous Page
Pages in Current Topic/Section
1
Next Page
cp - Copy Files or Directories
Next Topic/Section

head, tail - Output the First or Last Part of a File to the Screen

head and tail are simple file viewers that output either the first 10 lines or the last 10 lines of a file to the screen. They can be used in the following manner:

head [+n] file

tail [+n] file

Head shows the first 10 lines of the file. Alternatively, it can be offset from the beginning of the file a certain number of lines by using the offset parameter + n. Tail works in a similar manner from the end of the file.


Previous Topic/Section
more, less - Peruse A File One Screen at a Time
Previous Page
Pages in Current Topic/Section
1
Next Page
cp - Copy Files or Directories
Next Topic/Section

If you find CertiGuide.com useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider buying an inexpensive PDF equivalent of the CertiGuide to A+ (A+ 4 Real) from StudyExam4Less.com. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com
Version 1.0 - Version Date: March 29, 2005

Adapted with permission from a work created by Tcat Houser et al.
CertiGuide.com Version Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.