title: Run a qsub command from a parent folder to all directories below with a file *.dat
body: <p>I am using Redhat and a pbs queuing system to submit jobs to finite element analysis code. I typically have a folder that contains a .dat file, which is what I want to run, and a .pbs file that will submit the .dat file.  To submit the .dat file I would run the command "qsub *.pbs" in the directory containing both files.</p>
  
  <p>How could I submit or just run "qsub *.pbs" from outside of the directories containing the .dat files.  I would typically be two directories up from the .dat files.</p>
  
  <p>Thanks </p>