Pipes works properly. Out redirection works too and I can combine both. But in redirection just works if there\'s no pipe.
it works: command1 | command2 > fi
command1 | command2 > fi