Useful Grep commands

By | May 29, 2020

Common commands I use with grep

Command to pull a column out of a CSV file:

cat ~/Downloads/filename.csv| grep -Ei '""columnName"":""[[:alnum:]]+' -o > output.txt