AWK: Difference between revisions

57 bytes added ,  5 years ago
Line 5:
= Basics =
 
*Awk is a scripting language used for manipulating data and generating reports.T
* Field variables — $1, $2, $3,
 
* $0 is the entire line.
*Usage:
cat stats_collection.log | grep svmem | awk '{print $1 $2," - ",$7}'
 
 
= Built In Variables =