I'm logged into an IP Phone running MontaVista with a very stripped down BusyBox binary (by stripped down, I mean the OEM has removed almost all of its functionality, except the basics like
I'm doing an
ls -l on a directory and there are thousands of files. I need to be able to pause the file list on the end of each page of results.
Normally I would do this with
ls -l|more or even
ls -l|less but of course,
less are not present on this phone.
Are there any other low-level ways of making
ls paginate? My only other option is to write the output to a file and then
tftp it off the server and open it on a proper computer, but this is a very roundabout (and slow) method of doing it.