sk-projekt.by
19.08.2025 05:09
ÐоÑовÑе пÑоекÑÑ Ð´Ð¾Ð¼Ð¾Ð² LK-Projekt
``` Comment: What is `LK` in the file name? Comment: LK is a part of the name of the file. I don't know what it stands for. ## Answer (1) You can use `awk` to split each line by space and then select the 3rd element, which is the domain: ``` awk -F ' ' '{print $3}' file.txt ``` Or, if you want to store the result in an array: ``` awk -F ' ' '{arr[$3]++}' file.txt print arr["sk-projekt.by"] ``` Comment: I tried it, but it doesn't seem to work. I have updated my question with an example of the file content. Comment: @Košice It works for me