
more:tldr:bcc43
more: Display paginated output from `stdin`.
$ ${echo test} | more
try on your machine
The command ${echo test}
prints the word "test" to the console. The symbol |
is a pipe character, which allows the output of one command to be sent as input to another command. In this case, it pipes the output of the ${echo test}
command to the more
command.
The more
command is a pager used to display output one screen at a time. It waits for user input to display the next page. So, the output of ${echo test}
will be displayed using the more
command, allowing the user to scroll through the output if it exceeds the screen size.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.