title: how to find and execute a file in bash script?
body: <p>Hi I am trying to us the find command and -exec to -execute a file file when found but it doesn't seem to work. here is some code:</p>
  
  <pre><code> ssh $i find $DIRECTORY -name "version.sh" -exec sh {} \;
  </code></pre>
  
  <p>I am getting the error no arguments for -exec</p>
  
  <p>thanks!</p>