In the command dmesg | grep usb, the pipe operator connects the standard error of dmesg to the standard input of grep.