Read more

How to grep recursively on Solaris

Kim Klotz
October 10, 2011Software engineer at makandra GmbH

grep -r doesn't work on Solaris. You can only grep on files in the current directory.

Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

A workaround is to use grep with find:

find ./ -type f -exec grep "foo" {} +
Posted by Kim Klotz to makandra dev (2011-10-10 17:42)