title: Loop for deleting first line of Multiple Files using Bash Script
body: <p>Just new to Bash scripting and programming in general. I would like to automate the deletion of the first line of multiple .data files in a directory. My script is as follows:</p>
  
  <pre><code>#!/bin/bash
  for f in *.data ;
  do tail -n +2 $f | echo "processing $f";
  done
  </code></pre>
  
  <p>I get the echo message but when I cat the file nothing has changed. Any ideas?</p>
  
  <p>Thanks in advance</p>