English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

when a set value=temp is done,
why the echo $value doesnt work

2006-08-17 23:01:06 · 2 answers · asked by Anonymous in Computers & Internet Software

mine is a c shell, and i did this :
"test.csh"
#! /usr/bin/csh
setenv FWDBUSER temp
but
it says FWDBUSER: Undefined variable

2006-08-17 23:28:24 · update #1

2 answers

set is windows command yaar...in unix you have to give like this

value=temp
export value

echo $value...

2006-08-17 23:10:28 · answer #1 · answered by Anonymous · 0 0

If you're using the bash shell:

export value=temp

If you're using the C shell:

setenv value temp

To find out which shell you're using, simply enter echo $SHELL.

2006-08-18 06:15:54 · answer #2 · answered by Frank 2 · 0 0

fedest.com, questions and answers