> Home > Scripts > AWK >

How to run AWK from the command line.

 

output to screen

$ awk '{   commands }' input_file

 

output to file

$ awk '{ commands }' input_file > output_file