Linux Command Line Tutorial For Beginners 28 – Head and Tail Commands

Video is ready, Click Here to View ×

head – output the first part of files
head [OPTION]… [FILE]…
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
tail [OPTION]… [FILE]…
Print the last 10 lines of each FILE to standard…

1 Comment

Leave a Reply

Your email address will not be published.