Grep and cat Finding a File Containing a Particular Text String In Linux Server

 grep -r "searchtext.input" /home/hydev/repositories/xyz/config/*.properties


https://www.cyberciti.biz/faq/howto-search-find-file-for-text-string/


grep -r 'ConfigurableRfc6265CookieProcessor' --include=*.xml

grep -ri '<value to match>' --include=*.properties


grep -ri '<value to match>' --include=*.java


grep -ri 'configurableRfc625CookieProcessorHandlerLoader'  --include=*.properties


grep -ri --include=*.properties tomcat


grep -ri suspend=n

cat local.properties | more

Comments

Popular Posts