Hands-on task
This task is step 10 of the course “Regular expressions”
Time HH:MM:SS
From the log /root/times.txt extract all timestamps in the format HH:MM:SS into /root/stamps.txt.
What you'll practise:
- grep
- regular expressions
- grep -o
- counting quantifier
- extracting substrings