Re: Where to find setup for env variable?
On Wed, 14 Apr 2010 12:24:17 +0200, Paul Chany wrote:
> Jochen Schulz writes:
>
>> Paul Chany:
>>>
>>> I have setup somewhere the JAVA_HOME environment variable, but don't
>>> know where?
>>
>> ~/.xsession?
>
> No. :(
>
> Maybe must I use grep to find the file containing 'JAVA_HOME'? If yes, I
> dont' know the exact expression of that grep command.
I have saved a one-liner. You can try with:
***
find /* -type f -exec grep -H 'JAVA_HOME' {} \;
***
Be careful, as it will search inside all files under root "/".
Greetings,
--
Camaleón
Reply to: