Try
tail -n +21 myfile.txt
sed -i 1,20d filename
if you want to delete the first 20 lines !
Awk power can be used too:
awk -- 'NR > 20' /etc/passwd