I\'m trying to get for certain text in multiple directories and then to send the output, when I\'m using the same shell on the machines it works correctly and sends the requ