Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
tail +6 inputfile > outputfile
head -n $(( $(wc -l<inputfile) - 5)) inputfile > outputfile
tail +6 /input/file | tac | tail +6 | tac > /output/file
# X is lines to remove from front and rear
X=5
sed -n "$((X+1)),$(( $(wc -l<inputfile) - $X))p" inputfile
for dummy in {1..5}; do sed -i '$d' file ; done
awk -v l=5 'NR>l{print a[NR%l]}{a[NR%l]=$0}' inputfile