Get the last n lines in a very large file

Reading Time: 1 minute

Solution

$ echo "$(tail -n path/to/large-file)" > path/to/output-file

 

We transform challenges into digital experiences

Get in touch to let us know what you’re looking for. Our policy includes 14 days risk-free!

Free project consultation