Delete the nth line from a text file

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

Popular posts from this blog

How to delete / clear queue of PowerMTA