Friday, February 07, 2014

remove a line from a file

sed -i '22d' /root/.ssh/known_hosts


or better is to do ssh-keygen  -R hostname/IP

No comments: