0

I want to find where I have exported my CPLUS_INCLUDE_PATH variable, so I enter:

 grep CPLUS ~

but it gives not results, if I enter:

 grep CPLUS ~/.bash_profile

it works OK, I also tried other commands but with no luck

2
  • 4
    use grep -r CPLUS ~ to recursively search through all files in directory and its sub-directories
    – Sundeep
    Commented Aug 18, 2016 at 7:45
  • 1
    @spasic thank you it worked, without -r what worked was this command: grep CPLUS ~/.*
    – mike
    Commented Aug 18, 2016 at 8:12

0

Browse other questions tagged or ask your own question.