Most versions of head(1) – GNU derived, in particular, but not BSD derived – have a feature to do this. It will show the top of the file except the end if you use a negative number for the number of lines to print.
Like so:
head -n -10 textfile
Most versions of head(1) – GNU derived, in particular, but not BSD derived – have a feature to do this. It will show the top of the file except the end if you use a negative number for the number of lines to print.
Like so:
head -n -10 textfile