SETENV Command

Steven W. Orr steveo at syslang.net
Mon Jul 18 18:39:18 UTC 2005


On Monday, Jul 18th 2005 at 10:53 -0700, quoth Ahamarshan jn:

=>HIya
=> 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.
=>
=>ps: sorry if this mail is inappropriate to fedora
=>forum as it is a query about a specific program that
=>could not load. My attempts to find a specific mailing
=>list for this query proved futile. There is no
=>intention from me to abuse the maillist.
=>
=>Thanks ash#

setenv is built in to the csh. (Or maybe tcsh in this case.) If you're not 
finding it then you're probably running bash. To tell:

ps aux | grep $$

The proper way to set an environment variable is either:

export VAR=value

or you can do it just for the invocation of the program:
VAR=value program and its args

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net




More information about the fedora-list mailing list