On Tue, Dec 23, 2008 at 09:53:00AM +0200, Erez D wrote: > hi > > head -5 <file> will give me the first 5 lines of file. > > i'm looking for somthing that will give me everything but the first 5 lines. > > i know i can get the lines with 'wc -l' , then substract 5, and then use > tail. > is there an unhead util that does that for me ?
tail -n +6 ('tail +6' used to work, but newer GNU tail requires '-n') or awk 'NR > 5' -- Didi ================================================================= To unsubscribe, send mail to linux-il-requ...@cs.huji.ac.il with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail linux-il-requ...@cs.huji.ac.il