Command line tip - search a directory for files containing a particular pattern, printing filenames only - "grep -rl PATH_MAX /usr/include"
1
6
@hal_pomeranz I distinctly remember you asking me that question during an interview 20 years ago. Before the -r and -l options, I think...
1
. @dudleypippin Yep. Old school is "find /usr/include -type f | xargs grep -l PATH_MAX"
Jun 14, 2015 · 7:27 PM UTC
1
1

