Head Command to view first part of a file

by Selva 2009-10-29 14:50:34

In linux You can use head command to view the contents in the first part of a file .

examlpe 1 : head test.txt

- this will print first 10 lines of test.txt

example 2 : head -n 20 test.txt

-this will print first 20 lines od test.txt

Tagged in:

1097
like
0
dislike
0
mail
flag

You must LOGIN to add comments