====== SED - Print - Print first N lines of a file ====== Emulates behavior of "head". For example, to print first 10 lines of a file: sed 10q **NOTE:** Equivalent to: head -n 10 -
sed 10q
head -n 10 -