linux cp first 10 lines of a file code example
Example 1: only show first lines linux
head -10 bar.txt
Example 2: delete first two lines of file linux
$ sed -i -e 1,3d vmr_nonprod
head -10 bar.txt
$ sed -i -e 1,3d vmr_nonprod