From a2c821a4f13b8d4a96d82168ca02310357f3c2a3 Mon Sep 17 00:00:00 2001 From: waldek Date: Mon, 5 Jul 2021 22:28:28 +0200 Subject: [PATCH] updates processes and regex md --- modules/qualifying/learning_processes.md | 2 +- modules/qualifying/learning_regex.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/qualifying/learning_processes.md b/modules/qualifying/learning_processes.md index 27f048b..ee6b603 100644 --- a/modules/qualifying/learning_processes.md +++ b/modules/qualifying/learning_processes.md @@ -395,7 +395,7 @@ I would advise you to use `sudo` when changing the nice values because otherwise ## Exercises To help you understand what happens to running and stopped processes I made a few python scripts you can download below. -Run them either with `python3 $SCRIPT_NAME` or `./$SCRIPT_NAME` +Run them either with `python3 $SCRIPT_NAME` or `./$SCRIPT_NAME`. * [simple timer](./assets/processes_ex_01.py) * [timer with random keyboard prompt](./assets/processes_ex_02.py) diff --git a/modules/qualifying/learning_regex.md b/modules/qualifying/learning_regex.md index 7373fa5..f025d90 100644 --- a/modules/qualifying/learning_regex.md +++ b/modules/qualifying/learning_regex.md @@ -41,7 +41,7 @@ One of the advantages of perl regexes is reverse matching. ## The basics - +TODO ## Exercises @@ -61,6 +61,7 @@ Use them to test out you grepping skills and as inspiration for personal challen * plus only the unique ones * extract all wrong logins for known users * extract all unknown users (this is tricky and requires backwards searching using `grep -P`) + * extract all the dates and times for successful logins (might require multiple greps in a pipe) * mail dump [file](./assets/dump.mail) * extract all unique email addresses * extract all web links