From 563ac908520c0d10aaabf8ad17ad838774a8c080 Mon Sep 17 00:00:00 2001 From: Kolya Morgunenko Date: Mon, 12 Oct 2020 10:16:55 +0300 Subject: [PATCH] Update homework.md --- weeks/week2/homework.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weeks/week2/homework.md b/weeks/week2/homework.md index d2ca99b..43eb8d2 100644 --- a/weeks/week2/homework.md +++ b/weeks/week2/homework.md @@ -1,3 +1,5 @@ 1. Write a program that prints your ip adress. 1. List all installed programs which contain `apps` or `cs` or `ba` case insensitive separated with `->`. Example: `pr_apps.py->cs2->ba_11`. Hint: to list all installed packages use `pacman -Q` 1. Write a keylogger. As a command line argument it takes a file path where to store logs. If the log file or path do not exist, the program should create them. Each command that user entered should be prefixed with timestamp (`[year:month:day|hour:min:sec]`). The commands should work as in the usual command line. Prompt of the keylogger can be any symbol or string (e.g. `>` or `$`). + +All programs must have a description and usage examples on the very top of the file as a comment or in the README.md file.