linux command
hello everyone,
i am a newbie to linux, recently i am exploring the various commands of linux with thier options and a few thigs about shell scripts, i have encountered a problem
i have a variable defined in my shell script file (try.sh) as java=/usr/j2sdk1.4.2_09
now i want to set this path to the JAVA_HOME in jboss-3.2.6, which resides in the /usr directory, .i.e. the path is /usr/jboss-3.2.6/bin , the run.sh file in bin contains JAVA_HOME
i want to append this at hte start of the run.sh file
and it should be done when i am executing the try.sh file
how shall i go about it
waiting eagerly for the reply
thanks in advance
|