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

My number one used command: grep -Hnri <text> <file or *>


This works really well with the suggested --color=always, because it highlights the line number, the filename and the separators in different colours.




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

Search: