I have a list of 7 directories. Every day they get a file. I would run one command that would check all the directories at once which provides the output of the file names.
Normally I run
ls /direct1 to each of the 7 directly and honestly I tried piping all those command together but that doesn’t work either. I really don’t mind trying to figure things out on my own but I am just not sure what to search for. Most of my google results have point to scripts that would include the file names but that really seems like overkill. Maybe that's the only way and the reason for those results.