UNIX - Recursive Grep

Below will grep for all files containing the word ssh at the beginning of the line. The BOL symol is ^. 

grep -r ^ssh /etc

About the Author


R Donato

Rick Donato is the Founder and Chief Editor of He currently works as an SDN/NFV Solutions Architect and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001