What's the best technique for trimming a file?  IE: I have file
"/var/log/toolarge".  What's the fastest technique to discard 

- The first 10,000 records?  
- The last 10,000 records?  

And as a bonus, since files are stream oriented, what's the fastest
technique for finding out how many records are in the file?

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to