how do i set c-shell environment variables in tcsh shell script
Posted
by
rambokayambo
on Super User
See other posts from Super User
or by rambokayambo
Published on 2012-06-25T14:52:15Z
Indexed on
2012/06/25
15:18 UTC
Read the original article
Hit count: 247
csh
i am trying to set the environment variables in tcsh shell and it is not working. This is the syntax that i am using currently
setenv MYSQL_HOME=/opt/mysql/mysql/bin
my other question is i have a c-shell script that i am editing. Is setenv the same as a regular set MYSQL=${MYSQL_HOME}/bin/sqlplus?
set MYSQL_HOME=/opt/mysql/mysql/bin
or should i just set the MYSQL_HOME to where the mysql executable is ?
© Super User or respective owner