I use a command in AIX to view back-end nodes,etc..but they are too many so they don't fit in one page and when I run the command when it finises I can pnly scroll to last page and cannot read the rest of results in previous pages. How can I either print the results of a command to a text file or be able to pause and see the results on other pages?
Use the redirection operators
If you also need to redirect stderr, use one of the following, depending on your shell:
Use a pager such as