Previous Section  < Day Day Up >  Next Section

head—outputs the first ten lines of a file(s)


head [-c N[bkm]] [-n N] [-qv] [--bytes=N[bkm]] [--lines=N] [--quiet]

   [--silent] [--verbose] [--help] [--version] [file...]

head [-Nbcklmqv] [file...]


head displays the first ten lines of each file to standard output. With more than one file, it precedes each file with a header giving the filename. With no file, or when file is -, reads from standard input.

    Previous Section  < Day Day Up >  Next Section