This question already has an answer here:
Example: In a Terminal command
xdpyinfo | grep resolution(that I have taken from an answer), does the
|character mean that the
xdpyinfooutput shall be sent to the grep program input for printing a line containing the
resolutionstring? Where should I seek for such an information to avoid filling this forum by too simple questions? Thanks.