Sam's Tech Blog

You can check out any time you like, But you can never leave!'

2019-08-21

Delete line in a file using sed

How to: delete text using sed

Delete line in a file using sed

sed -i '105d' /home/administrator/.ssh/known_hosts