Extracting Multi-Line SSH Sessions from auth.log with sed
Use sed address ranges and hold/pattern space to reconstruct full SSH session timelines from auth.log for a specific attacker IP.
Tag archive
Use sed address ranges and hold/pattern space to reconstruct full SSH session timelines from auth.log for a specific attacker IP.

sed (Stream Editor) is one of the most powerful text processing tools in Linux. Whether you're...

The Stream Editor (sed) is one of the most powerful text-processing tools in Unix and Linux. With...
SED one liner for formatting ssh config file
Explore web scraping using Bash and CLI tools for efficient data extraction
Introduction GitHub had announced that the set-output and save-state workflow commands...
Obligatory xkcd comic on automation TL;DR Here's a Bash script to: Take a branch...
What is sed? https://en.wikipedia.org/wiki/Sed sed ("stream editor") is a Unix utility...
I recently had to read a lot of long bash scripts. Stumbled about a few things I found interesting...
Table of contents Write the result to another file Replace first occurrence on every...
Time for some regular expressions! Just like with the CSS episode, we won't use them for intended...
One of the most important command line utility in Linux is sed which is a stream editor. A stream...