AWK – Linux text processor

Summary:

AWK –  is the text processor and original from AT&T and it is excellent tool for processing rows and columns and it is always quit easy to report

Structure of the program is as follows,

#awk ‘{print}’ filename ===> “AWK”  is the command followed by pattern and action on the file  For Example

#awk ‘{print}’ /etc/passwd ==> It will print all the characters from the file /etc/passwd

#awk ‘/[0-9]/ {print }’ /etc/passwd ==> It will print all the numerical characters from the file /etc/passwd