Head Command to view first part of a file
by Selva[ Edit ] 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