Koozali.org: home of the SME Server

Environment variables, where ??

xware

Environment variables, where ??
« on: January 27, 2005, 09:47:44 AM »
Hello!
Due to a problem I have not identified, I have a lot of garbage bash code that has been placed in the environment variables (where it has nothing to do..).. and no room left for the new ones I'm trying to set up.. preventing me to install software I need and that use environment variables
Does someone know where is the database that contains the environment variables (and those you set with a 'set config') in order for me to edit it and flush the garbage ?
Thanks in advance for your help.
Cheers,
Phil.

Offline hmuhammad

  • ***
  • 65
  • +0/-0
Environment variables, where ??
« Reply #1 on: January 27, 2005, 05:25:06 PM »
from

man bash

...

       unset [-fv] [name ...]
              For each name, remove the corresponding variable or
              function.   If  no  options are supplied, or the -v
              option is given, each name refers to a shell  vari­
              able.  Read-only variables may not be unset.  If -f
              is specifed, each name refers to a shell  function,
              and the function definition is removed.  Each unset
              variable or function is removed from  the  environ­
              ment passed to subsequent commands.  If any of RAN­
              DOM, SECONDS, LINENO, HISTCMD, FUNCNAME, GROUPS, or
              DIRSTACK are unset, they lose their special proper­
              ties, even if they  are  subsequently  reset.   The
              exit status is true unless a name does not exist or
              is readonly.
...............