So in Linux, less is used to read files page by page for better readability. I was wondering if you can do something like
less file.txt > output.txt to get one page worth of file.txt and output/write it to output.txt.
(Asking on behalf of yyin stackoverflow OP)