#193 Unixboy You could use sed Using sed would let you do the same in fewer characterssed '5d' known_hosts > b && mv b known_hosts url:Bash Tip: Remove a line from middle of file 2012-05-04
Using sed would let you do the same in fewer characters
sed '5d' known_hosts > b && mv b known_hosts