#!/bin/bash # Get number of rows in data.csv wc -l < data.csv > stats.txt