I am wondered about differences between I/O Redirection and Command substitution?
For example when I want to redirect
which command output to
cd command (I know that it's not a directory) then the
cd command do not use
which w3af | cd?
I have to use command substitution like
cd $( which w3af ), why?