Search code examples
tail

linux command tail hangs on large file, what is the alternative?


This

 tail -n 1217060 input.sql > /disk2/mysql_dump/output.sql
is not writing to the output file. After couple of days, does this mean it's still seeking to the nth line?
Is there a more efficient alternative to this?


Solution

  • i can't imagine anything being any better at this than tail