Please give the answer for what purpose we use this command only single '|'
Please tell me.
Please give the answer for what purpose we use this command only single '|'
Please tell me.
| is used to pipe the output of command 1 into the input for command 2.
For example, ls | grep .jpg would pipe the output from ls into grep and only show files with .jpg in the title.