Monday, January 31, 2022

How to search for a text from files in a directory on Linux

 find -type f -name "*.xml" -exec grep -l 'searchtext' {} +


Use the above command to find all files (in this case xnl) containing specific text 'searchtext' on Linux


No comments:

Post a Comment

Query to list the Oracle RICEW Objects

Pass the application short name &APP_SHORT_NAME parameter to find RICE objects for the particular application and include any exclusion ...