Acclaimed Contributor Acclaimed Contributor
Re: Flush a file keeping last 10 lines
tail -10 file > new-file; mv new-file file