LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 09-09-2005, 03:34 AM   #1
neerajchaudhari
Member
 
Registered: Jun 2005
Location: Pune
Distribution: mandrake
Posts: 30

Rep: Reputation: 15
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
 
Old 09-09-2005, 03:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
linux command neerajchaudhari Linux - Newbie 1 09-09-2005 03:59 AM
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 03:23 AM
linux df command glaz Linux - Newbie 9 06-25-2005 11:50 AM
Need some help with linux command NiallC Linux - Newbie 2 11-11-2004 03:47 AM
unix command to linux command leonidas Linux - General 1 09-10-2004 01:40 AM


All times are GMT -5. The time now is 04:31 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration