Delete the nth line from a text file

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

Comments

Popular posts from this blog

Fixed Windows warning: agent returned different signature type ssh-rsa (expected rsa-sha2-512)

How to install/renew SSL Certificate for Glassfish