I have a command rdseed -d -R -p -f filename which gives an output of response time and etc for each file in a subfolder. The problem is I want to run this command in all subfolders and the output (response time, pz) must be inside the subfolders. I've tried  using ls -1 */*.file type | awk -F '[/]' '{print rdseed -d -R -p -f }' but the result is just it do this in the file in the first subfolder and its was also placed in the parent folder. 
run a command in subfolders
linux;awk