updates processes and regex md

This commit is contained in:
waldek 2021-07-05 22:28:28 +02:00
parent d8d60e9a61
commit a2c821a4f1
2 changed files with 3 additions and 2 deletions

View File

@ -395,7 +395,7 @@ I would advise you to use `sudo` when changing the nice values because otherwise
## Exercises ## Exercises
To help you understand what happens to running and stopped processes I made a few python scripts you can download below. 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) * [simple timer](./assets/processes_ex_01.py)
* [timer with random keyboard prompt](./assets/processes_ex_02.py) * [timer with random keyboard prompt](./assets/processes_ex_02.py)

View File

@ -41,7 +41,7 @@ One of the advantages of perl regexes is reverse matching.
## The basics ## The basics
TODO
## Exercises ## Exercises
@ -61,6 +61,7 @@ Use them to test out you grepping skills and as inspiration for personal challen
* plus only the unique ones * plus only the unique ones
* extract all wrong logins for known users * extract all wrong logins for known users
* extract all unknown users (this is tricky and requires backwards searching using `grep -P`) * 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) * mail dump [file](./assets/dump.mail)
* extract all unique email addresses * extract all unique email addresses
* extract all web links * extract all web links