looks for keyword

This script opens 1.txt. In every line it looks for the keyword ajkrrt. If it is there, then it will print this line in to the file 2.txt.