Hacker News new | past | comments | ask | show | jobs | submit login

I always used sed for deleting lines from .ssh/config

sed -i 68d .ssh/config

It was an eye-opening experience for me when I realized sed and ed commands are almost identical




It is the Stream EDitor after all.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: