To not return immediately to the CLI prompt after viewing the last screen of output, enter hold after the pipe symbol. The following example prevents returning to the CLI prompt after you have viewed the last screen of output from the show log log-file-1 command:
user@host> show log log-file-1
| hold
This filter is useful when you want to scroll or search through output.