LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-15-2008, 10:08 PM   #1
kathiravan
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
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
 
Old 10-15-2008, 10:53 PM   #2
wired4fx
LQ Newbie
 
Registered: Sep 2008
Posts: 18

Rep: Reputation: 0
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!
 
Old 10-16-2008, 10:15 AM   #3
kathiravan
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
i did as it is given in GUI manual

Quote:
Originally Posted by wired4fx View Post
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!
actually the GUI manual given for the software, does not have $ symbol infront of variable, i too tried $ symbol in front of variable, but no change
 
Old 10-16-2008, 10:32 AM   #4
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
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).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
environmental variable myfoot Fedora 1 01-31-2008 05:36 PM
Help: Linux Environmental Variable jkkunil Programming 2 08-01-2007 04:14 PM
linux environmental variable surender Linux - General 2 05-07-2007 07:54 AM
how PKG_CONFIG_PATH environmental variable set these package hitlar Linux - Software 1 06-20-2006 10:46 PM
Setting an environmental variable maevious Linux - Newbie 6 11-24-2005 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration