Select Page

awk Programming Basics

Data-driven scripting language for data extraction and reporting. Line-by-line or record-by-record processing of text files. Blocks Working with a single file BEGIN { print(“”runs at the start of all records””) } { print(“”run for...

Linux Basics

Sed Replace the first occurrence of a string in a file, and print the result sed ‘s/find/replace/’ filename Replace all the occurrences of a string in a file, and print the result sed ‘s/find/replace/g’ filename Replace all occurrences of an...