About the course
Our Grep, SED, and AWK training course covers these three fundamental Unix utilities which remain indispensable tools for anyone working with Linux, macOS, or other Unix-like systems, from developers and system administrators to DevOps engineers and data analysts.
This hands-on workshop will equip you with the skills to effectively search for patterns in files using grep, perform powerful text transformations and substitutions with sed, and process structured text data with awk. You'll learn how to leverage regular expressions to their full potential and understand how these tools form the backbone of many scripting and automation workflows.
While the landscape of data processing has evolved, grep, sed, and awk continue to offer lightweight, efficient, and rapid solutions for targeted text operations, log file analysis, configuration management, and initial data exploration.
This course will not only cover the core functionalities but also highlight their relevance in modern contexts, demonstrating how they can be integrated with other tools and scripting languages for enhanced productivity in today's technology-driven environment.
Instructor-led online and in-house face-to-face options are available - as part of a wider customised training programme, or as a standalone workshop, on-site at your offices or at one of many flexible meeting spaces in the UK and around the World.
-
- Effectively search for text patterns in files using grep and regular expressions.
- Perform powerful text transformations and substitutions using sed commands.
- Process and extract data from structured text files using awk patterns and actions.
- Understand the fundamental syntax and operation of grep, sed, and awk.
- Utilise these tools for common system administration and development tasks.
- Incorporate these utilities into basic shell scripts for automation.
-
This practical course is ideal for system administrators, DevOps engineers, software developers, data analysts, security professionals, and anyone who regularly works with command-line interfaces on Linux, macOS, or other Unix-based systems. It's also beneficial for those looking to enhance their scripting and automation skills and gain a deeper understanding of text processing utilities.
-
To make the most of this training, delegates should have attended our Linux Intro course and/or have a basic familiarity with the command line and a general understanding of file systems in a Unix-like environment. No prior knowledge of grep, sed, or awk is required, as the course will start with the fundamentals. However, a basic understanding of regular expressions would be advantageous but not essential, as it will be covered within the course.
-
This grep, sed and awk course is available for private / custom delivery for your team - as an in-house face-to-face workshop at your location of choice, or as online instructor-led training via MS Teams (or your own preferred platform).
Get in touch to find out how we can deliver tailored training which focuses on your project requirements and learning goals.
-
Using grep
Overview of grep basicsRegular expressions
Substitution and global commands
Pattern Matching
Using SED
What SED is and when to use it
Format of command
Operation
Formatting addresses
Summary of commands
Simple commands
Appending and changing text
Inserting and deleting text
Substitution and translation
Printing
Reading and writing files
Branching
Multi-line commands
Using AWK
Using awk
Patterns and Actions
Operation
Program format
Variables
Built-in variables
BEGIN and END
The printf statement
Functions
Passing parameters
-
https://www.gnu.org/software/grep/manual/grep.html - The official GNU Grep manual provides comprehensive documentation on all aspects of the grep command.
https://www.gnu.org/software/sed/manual/sed.html - The official GNU Sed manual offers detailed information on the sed stream editor and its commands.
https://www.awk.dev/ - the home of AWK with a link to the book and some errata
Trusted by