I am trying to delete the first row of each of my .csv files in my DIR folder using the sed:
DIR=/home/results for filename in "$DIR"; do sed 1d filename.csv done However, this doesn't work. I am new to bash scripting and would be thankful if anyone tells me how to fix this.