Fork me on GitHub

Tag: sed

Tag Archives: sed

Bash snippet to remove a line from a file

A while back I was working on a project that involved spooling up and shutting down a lot of Amazon EC2 instances while testing and I was constantly running in to an issue where my ~/.ssh/known_hosts file was out of sync with the server that I was connecting to. Despite how simple it is, I […]

May 5, 2011 | Computers | Comments Off on Bash snippet to remove a line from a file