Get file content from line x to line y
Solution
$ awk 'NR >= x && NR <= y' path/to/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