2.
cat -n seznam1.txt | grep 521 | tail -n 1 > vypis2