Linux : Find + Grep combination with filename (ie: search in all *.ini files for max_execution_time)

Combine Find and Grep to find "max_execution_time = 60" in all *.ini files (for PHP config).

 

Example:

find / -type f -name "*.ini" -exec grep -H 'max_execution_time = 60' {} \;

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare