Extract Columns of Data from a CSV with awk

InstructorCameron Nokes

Share this video with your friends

Send Tweet

In this lesson, we'll use the power of awk to select the columns and rows of data that match our condition. We'll pass a , (comma) to the -F flag (the F stands for field separator), to tell awk to split on commas. From there, the world is our oyster and we can tell awk to only return rows that match whatever parameters we pass.