====== SED - Print - Print last N lines of a file ====== Emulates "tail". For example, to print the last 10 lines of a file: sed -e :a -e '$q;N;11,$D;ba'