eg. line 222 in known_hosts
sed '222 d' /home/tobias/.ssh/known_hosts > /tmp/1;cp /tmp/1 /home/tobias/.ssh/known_hosts
MAC OS X, Linux, Windows and other IT Tips and Tricks
eg. line 222 in known_hosts
sed '222 d' /home/tobias/.ssh/known_hosts > /tmp/1;cp /tmp/1 /home/tobias/.ssh/known_hosts