Linux: display ls results one page at a time

The tutor tells a useful hint he learned from unix.com.

Sometimes, searching a directory in Linux, the results are so numerous that the user is plunged to the end, not being able to see the early or middle entries.

There is a way to avoid this: apparently, the command

ls|more

displays just the first page of the search results. To see the rest, the command

x d

advances the list by x entries.

On my system, anyway,

x Space Bar

or

x Enter

will also advance the list by x entries.

Another option is

ls|less

after which you can arrow up or down though the list.

To quit out of the list, press q

HTH:)

Source:

unix.com

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Tagged with: , , , ,

Leave a Reply