Computer Science, asked by raj4427, 1 month ago

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 Jtsnc
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