Help Me Set Environmental Variable In Nctuns 4.0
sir
im using bash shell,and used commands given in read me file to insert environmental variables export NCTUNSHOME=/usr/local/nctuns export NCTUNS_TOOLS=/usr/local/nctuns/tools export NCTUNS_BIN=/usr/local/nctuns/bin also i used the alternate command "source/user/local/nctuns/etc/nctuns.bash" but when i used command "printenv | grep NCTUns" to check whether environmental variables set,nothing showed out,which meant these variables not set. i have disabled SELINUX and also ip table service was stopped. please help me to set environmental varible, so that i can proceed my work.thanks in advance |
well now... stu
I am no genius but did you add the $variable? Probably a stupid question, but the $ before the actual variable defines that variable in a local context...please let me know so I can help further!
|
i did as it is given in GUI manual
Quote:
|
linux is case sensitive. In your post you exported NCTUNS but in your grep you search for NCTUns. This will certainly fail to find any instances.
If you wish to do a case insensitive grep, do a grep -i NCTUns. Alternatively maintain your case. You also can check by doing an echo $NCTUNS_BIN (or whatever). |
All times are GMT -5. The time now is 06:20 AM. |