Perform the following tasks in Linux Display the first 15 lines and last 20 lines of a text file (you need to create a text file )
Answers
Answered by
0
Answer:
To look at the first few lines of a file, type head filename, where filename is the name of the file you want to look at, and then press <Enter>. By default, head shows you the first 10 lines of a file. You can change this by typing head -number filename, where number is the number of lines you want to see.
Explanation:
hope it helps
Similar questions