Practical 8: Awk Programming/ Command in Linux

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Practical 8: Awk programming/ command in Linux.

Awk is a scripting language which is used for processing or analyzing text files. Or we can say
that awk command is mainly used for grouping of data based on either a column or field , or on a
set of columns. Mainly it’s used for reporting data in a useful manner. It also employs Begin and
End Blocks to process the data.

AWK Stands for ‘Aho, Weinberger, and Kernighan‘

Syntax of awk
# awk ‘pattern {action}’ input-file > output-file
Conclusion: Thus we leant about awk command in linux.

You might also like