Hi,

consider that my present working directory(pwd) is /opt/lampp/w3calculator.com/
from this location I run a grep command as
Code:
 
grep 'search string'
My requrement is to get the absolute path of the search string and store in the a file. how can I do this?