Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

alias grpe=grep

Nothing comes close to the amount of time I saved with this one.



Hehe I liked the 'lcoate' one on this page too, same idea. It might be super-useful to have a function that, if command not found and if there's an anagram of what you typed that is a command, asks if you meant that instead, y/n? (That would make computers seem a lot more intelligent!)



Thanks, but my computer's too old to read that page. It's a thing already?


Yes, it's a command you can use when the previous one failed for some reason, that tries to correct the typos if any, or adds sudo or a missing option...


seriously. this was the first thing i searched for when i came to the comment thread, so i could add it if (somehow) someone hadn't already done so.

best. alias. ever.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: