SETENV Command

Ahamarshan jn ashgene at yahoo.co.in
Tue Jul 19 13:59:38 UTC 2005


I did give this command 
export
PHRED_PARAMETER_FILE=/usr/local/etc/PhredPar/phred.dat
 and then I could run the program well, but the
environment variable is set transiently ie when i
logout and then relogin i need to give this command
again to set the env variables. I think this works
only locally, I am using an other program (Partigene)
that calls the Phred program to do a set of jobs and
here i face a lot of difficulty.
How can i set up the env variable Globally and not
Locally such that I dont have to set it up everytime I
run phred. 

also: Does editing the file .cshrc and.login help? how
do I do that?. Is it safer to edit these files.

- thnks
ash

--- Paul Howarth <paul at city-fan.org> wrote:

> On Mon, 2005-07-18 at 10:53 -0700, Ahamarshan jn
> wrote:
> > just wondering if someone has installed
> Phred/Phrap
> > and Consed program on FEDORA CORE 2. I have
> installed
> > the program and also build them succesfully but i
> > could not set the environmental variables when i
> give
> > the command
> > setenv PHRED_PARAMETER_FILE
> > /usr/local/etc/PhredPar/phred.dat i always get the
> > message no command found for setenv and I could
> not
> > this invoke any program.
> > I run set env from c shell.
> 
> The default shell in Fedora is bash, not csh. setenv
> is a csh command
> that does not exist in bash. The bash equivalent
> would be:
> 
> export
>
PHRED_PARAMETER_FILE=/usr/local/etc/PhredPar/phred.dat
> 
> Paul.
> -- 
> Paul Howarth <paul at city-fan.org>
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-list
> 



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 




More information about the fedora-list mailing list