Back to Blog

Raw bash vs Sed vs Awk: When to use any or all of them

Cybersecurity

Mar 07, 2024

post image

In this session, I'm going to show you how to make use of raw bash, sed and awk. How they all fit together in one piece and how each of them can make your life very easy when writing scripts for automation or when doing a certain task.

Let's get started!

cat ls -la | awk '{print $3}'

This is how regular bash ls -la matches and blends so well with awk