If the same command is running fine on your Informatica Server Machine directly ( on the shell prompt ), it should give the same results in command task as well.
If you are facing problems with multiple commands, you can also try developing a shell script and invoking it from the command task.
Let me try that and I will get back to you.
Yes it's working fine!!
Glad to hear that Amit !!