From: Lex Williams Date: 2008-09-05T14:37:30+09:00 Subject: Re: How do I quickly search the end of a huge text file? Here is an usage example : begin file = File.open(ARGV[0]) rescue puts "file does not exist or is not a file\n" end file.seek(-25,IO::SEEK_END) puts file.readlines The code will read the rest of the files from that location . Try it on a file and see . -- Posted via http://www.ruby-forum.com/.