Delete the nth line from a text file

For example, to remove the 106th line:
sed -i '106d' .ssh/known_hosts

Comments