# Print the 12th column ('{print $12}') of a comma separated file (-F,) called my_file.csv awk -F, '{print $12}' my_file.csv # As above but for multiple files and include the filename (FILENAME) awk -F, '{print FILENAME,$12}' *.csv