*********************************************************
Donate for a cause
*********************************************************
Google

Tuesday, May 17, 2011

UNIX command to search for a string from the given path

The below command searches the string XXHR_CUSTOM_MESSGAE (ignores case lower/upper) from the path and its up level sub directories and prints on the screen
 
 
find <Path> -exec grep -i "XXHR_CUSTOM_MESSGAE" {} /dev/null \;
 
/doss1i/applmgr/11510/ or $AU_TOP or $XXPER_TOP

0 comments: