title: Find file then cd to that directory in Linux
body: <p>In a shell script how would I find a file by a particular name and then navigate to that directory to do further operations on it?</p>
  
  <p>From here I am going to copy the file across to another directory (but I can do that already just adding it in for context.)</p>