IIRC, these are also sourced by all the related shells, such as ksh
using /etc/profile and tcsh using the the 'csh' files.
Bob
Marco Calviani wrote:
Hi list,
i would like to define global variables for all the user of a
Debian system, for example the following:
CERN=/usr/local/ce
Þann 2006-03-10, 12:49:57 (+0100) skrifaði Marco Calviani:
> Hi list,
>i would like to define global variables for all the user of a
> Debian system, for example the following:
>
> CERN=/usr/local/cernlib
> CERN_LEVEL=2005
> CERN_ROOT=/usr/local/cernlib/2005
> PATH=/us
Hi list,
i would like to define global variables for all the user of a
Debian system, for example the following:
CERN=/usr/local/cernlib
CERN_LEVEL=2005
CERN_ROOT=/usr/local/cernlib/2005
PATH=/usr/local/cernlib/2005/bin
LDPATH=/usr/local/cernlib/lib
Where do i have to put them? I was thinking
On Wed, 21 Jan 2004 14:13:07 +0100, martin f krafft wrote:
> Hi there,
>
> Please excuse the OTness of this post. Since I am writing a library
> to be included in Debian, I feel that I should not be slaughtered
> for bothering you and hoping for your time and knowledge.
>
It wouldn't be OT if y
reliable answer. I am writing a shared
library with the intention to make it reentrant and thread-safe, if
these concepts even apply.
My question is about global variables -- I know they are bad
programming style, but when it comes to debugging or subsystem
initialisation in C, they are sometimes
On Thursday 06 June 2002 00:00, Carlos Sousa wrote:
> On Wed, 5 Jun 2002 10:38:10 +0200 Nicos Gollan <[EMAIL PROTECTED]>
> > OK, I don't know if this was already said, but I have to include
> >
> > if [ -f /etc/profile ]; then
> > . /etc/profile
> > fi
>
> Are you sure you need that? Are you usin
On Wed, 5 Jun 2002 10:38:10 +0200 Nicos Gollan <[EMAIL PROTECTED]>
wrote:
> On Wednesday 05 June 2002 02:11, Carlos Sousa wrote:
> > On Sat, 1 Jun 2002 00:09:42 -0500 dman <[EMAIL PROTECTED]> wrote:
> > > ...
> > > Yes -- the problem is the user's .profile doesn't source the
> > > system one. It
On Wednesday 05 June 2002 02:11, Carlos Sousa wrote:
> On Sat, 1 Jun 2002 00:09:42 -0500 dman <[EMAIL PROTECTED]> wrote:
> > ...
> > Yes -- the problem is the user's .profile doesn't source the system
> > one. It isn't automagically sourced.
>
> It should be. From the bash man page:
>
> When
On Sat, 1 Jun 2002 00:09:42 -0500 dman <[EMAIL PROTECTED]> wrote:
> ...
> Yes -- the problem is the user's .profile doesn't source the system
> one. It isn't automagically sourced.
It should be. From the bash man page:
When bash is invoked as an interactive login shell, or as
a non-int
ng the individual users variables and
| > '/etc/profile' the global variables, why is it that if I set variables only
| > in the '/etc/profile', thus making them global, they are not viewed by the
| > system.
| > Could you please explain to me what I am doing wrong or if
On Saturday 01 June 2002 12:10 am, Maya wrote:
> Thank you for the prompt reply.
>
> Actually what I'd like to know is the following: If '.bashrc' and
> '.profile' are responsible for setting the individual users variables and
> '/etc/profile
Thank you for the prompt reply.
Actually what I'd like to know is the following: If '.bashrc' and '.profile' are
responsible for setting the individual users variables and '/etc/profile' the
global variables, why is it that if I set variables only in the
On Friday 31 May 2002 09:09 pm, Maya wrote:
> I have removed the '.bashrc' and '.profiles' from all the users
> accounts.
Now we know where BOFH lives! BTW we are hiring a new sysadmin, send your
resume.
> Added the necessary modifications in '/etc/profile' including
> the variables necessary t
I have removed the '.bashrc' and '.profiles' from all the users
accounts. Added the necessary modifications in '/etc/profile' including
the variables necessary to configure and compile Qt-3.0.4. But now, when
I try to 'echo' some variable, say for instance, 'echo $QTDIR' I get
nothing; which indica
14 matches
Mail list logo