What is difference between the pipe(|) and output(>) redirection operators? Where can I use them?
For eg:
I have normally used pipe(|) only with grep
find . | grep abc
and the only use for input-output redirection I've come across is to test my programs with different input-output
For eg:
abc.exe < in.txt > out.txt
Why can't I do something like:
xyz.exe | out.txt