I/O Redirection and Pipes
< filename [redirect stdin to “filename”]
> filename [redirect stdout to “filename”]
E.g., a.out < my-input > my-output
program1 | program2 [take any stdout output from program1 and use it in place of any stdin input to program2.