Topics
Published on December 30, 2016 by ProgrammingKnowledge

head – output the first part of files
usage:
head [OPTION]… [FILE]…
DESCRIPTION
Print the first 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input.

========================================================
tail – output the last part of files
usage:
tail [OPTION]… [FILE]…
DESCRIPTION
Print the last 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input.

Leave a Reply

Be the First to Comment!

Notify of
avatar

wpDiscuz