#!/bin/bash # Count the number of lines in the original dataset wc -l < creditcard_shuf.csv > stats.txt # Count the number of lines in the training and testing datasets wc -l < creditcard_train.csv > stats_train.txt wc -l < creditcard_test.csv > stats_test.txt # Create a directory for the data mkdir -p data # Move the statistics to the data directory mv stats.txt stats_train.txt stats_test.txt data/