grep ciąg w pliku txt

grep "string" ~/threads.txt
DreamCoder