get_inf_env is not a variable, it is name of some utility being executed. I think your task is to set PATH variable, so get_inf_env can be run in the script without specifying whole path. To do so try:
Add this line as the second line in your script.
So do you want me to include the path in the script itself which will probably take the following format
Last edited by Franklin52; 08-06-2011 at 04:40 PM..
Reason: Please use code tags for data and code samples, thank you
I am using Solaris 8 and I want to change the PATH setting for all users. I have edited /etc/profile, but when I log in and check the PATH variable, it hasn't changed.
Am I missing something? (5 Replies)
Dear all, I have downloaded the latest version of gcc --- gcc-3.3.1.tar.gz from gnu.org. My Linux distribution is Mandrake 9.0. This was how I installed it:
su -
passwrd:
mkdir /usr/local/src
cd /usr/local/src
gunzip /tmp/gcc-3.3.1.tar.gz #where I downloaded the file
tar xvf... (2 Replies)
:) dear members;
I am trying to placea directory to keep minor records in particular directories.. rather than just rely on hard links.. I would like to set the $PATH variable so that I can access the directory itself from anywhere; ex./ /tmp or /bin /var...
I know how to export enviromental... (4 Replies)
Hi there,
I need help on setting the path variable. How can I set the path variable with Bourne Shell. My scripts goes like this, but did not work.
#!/bin/sh
PATH=/usr/bin:/usr/ucb:/etc:/export/home/zchen/home
export PATH
Thanks,
Z (4 Replies)
Hi all,
I have a java command in a shell script.
When i m executing the command from the prompt its working fine. But when i paste the same command in a shell script and execute the shell script it says path not found. Please help. (5 Replies)
I am trying to install the pkg-get package to a fresh install of Solaris 10. I am able to download and install correctly using the default directory for both pkg-get and wget as found on blastwave.org. When I issue the command "which wget and which pkg-get" it returns no wget or pkg-get found in... (1 Reply)
Hi ,
I new to solaris. I want to set path variable . Eg: JAVA_HOME.
When i do this,
#JAVA_HOME=/usr/jdk/jdk1.6
#export JAVA_HOME
#echo $JAVA_HOME
/usr/jdk/jdk1.6
Then its ok. When i toggle to bourne shell or if i log off or restart.
then JAVA_HOME is echoed blank.
How to set... (4 Replies)
This is a very newbie's question:
I was trying to add a new version of the same command "blastn", but the old command always shows up first.
which blastn
/usr/local/bin/blastnThe two versions of the same command "blastn" are located in:
which -a blastn
/usr/local/bin/blastn... (5 Replies)