Printing column separated by comma using Awk command line December 29, 2022 by Tarik Try: awk -F',' '{print $3}' myfile.txt Here in -F you are saying to awk that use , as the field separator.