[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

what happens to the rest of a file piped to head/tail?




Is it possible to cat a file, and remove the top 20 lines?
For example, 

cat /etc/file | head -20

would give me the top 20 lines of a file, however, I am really interested
in the rest of the file, however I am not certain just how many lines are
in the total file, so | tail -? would just not suffice.

thanks
cjm


--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.