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 money motivation

Opscomplete powered by makandra brand

Save money by migrating from AWS to our fully managed hosting in Germany.

  • Trusted by over 100 customers
  • Ready to use with Ruby, Node.js, PHP
  • Proactive management by operations experts
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)