This question already has an answer here:
Is there a way that I can get a resulted output to multiple locations at the same time.
ls -RsgorCh >> /Users/User1/Text1.txt will print the output as a text file in the given location. I want to know whether I can get the output to be printed into multiple different locations at the same time. Possible multiple locations can be
- Terminal + Folder + Folder etc..
- Folder + Folder + Folder etc..
Also the commands can be
grep ls tree etc