Removing 10 first lines of a text file
By bruno combal on Tuesday, April 20 2010, 07:52 - Bash scripting - Permalink
How to remove the 10 first lines of a text file? Easy job with sed (Stream EDitor):
sed '1,10d' myFile
Example: removing 10 first lines of all text files in a directory.
for file in *.txt do sed '1,10d' $file > output_dir/new_${file} done
Further readings: