PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Env var on the fly
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Env var on the fly

Réponse
 
LinkBack Outils de la discussion
Vieux 29/09/2007, 16h50   #1
Francesco Pietra
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Env var on the fly

Having defined (in my .bashrc) the environmental variables for computing suites
X and Y (PATH to them) it happens - because of some bug in X - that on running
certain programs of Y, executables of X are called (and of course not found).

If I undefine the env var X, all programs of Y run perfectly.

Is any simple way to define the env var X on the fly, when X is needed, without
having to use X as another user? (which would overcomplicate the matter because
there is an scp link from the computing machine to and from a desktop, where I
am).

debian linux amd64 etch on the computing machine, where my .bashrc. deain linux
i386 etch on the desktop.

Thanks
francesco pietra



__________________________________________________ __________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 29/09/2007, 17h00   #2
Andrew Sackville-West
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Env var on the fly

On Sat, Sep 29, 2007 at 08:23:59AM -0700, Francesco Pietra wrote:
> Having defined (in my .bashrc) the environmental variables for computing suites
> X and Y (PATH to them) it happens - because of some bug in X - that on running
> certain programs of Y, executables of X are called (and of course not found).
>
> If I undefine the env var X, all programs of Y run perfectly.
>
> Is any simple way to define the env var X on the fly, when X is needed, without
> having to use X as another user? (which would overcomplicate the matter because
> there is an scp link from the computing machine to and from a desktop, where I
> am).


export X="blah"

or do you need it to happen automatically? in which case your
application needs to do this.

A

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG/nXqaIeIEqwil4YRAg8GAKDKl9Xwp2dOIxK2SQDGmPnYzyXfwgC gj414
znY2IzI5BeBjs90SSjfe1NA=
=aZfW
-----END PGP SIGNATURE-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h32.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 2,68688 seconds with 10 queries