I am new to Unix.I want to set the path and classpath setting for JDK1.4,Weblogic 9.2 and Oracle 9?
So i need to set those settings in setEnv.sh file.
But i am unable to find that file in my unix environment?
Pls. do tell me where this setEnv.sh is stored?
In which directory or path? Pls. do help me..
The Kornshell uses two startup files to allow users to customize their shell environment.
$HOME/.profile (if one exists) and the startup file (if one exists) specified by the ENV environment variable (if set and exported). Normally this is set to $HOME/.kshrc.
Beware, though, of relying on the environment set in .kshrc in your scripts: they might, once you have written and tested them, be run in a different environment (for instance from cron or under a different user) and variables like PATH, which you take for granted, might not be set in these environments.
The best way to deal with an environment inside scripts is to explicitly set it during startup of the script. I use a special function for that, which is executed at the beginning of all of my scripts:
Guys, Thank u for ur replies... But i am not able find
.kshrc or .profile anywhere in my environment? Can u guys provide me the absolute path where it resides?
I have checked it in homedir where it is not there?
Pls. do reply...
Hello,
I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
My input is as below :
/splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt
/splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt
/splunk/scrubbed/loyal/IFIND.HELLO.WROC.txt
/splunk/scrubbed/triumph/ifind.triumph.txt
From the above input I want to extract the file names only .
Basically I want to... (5 Replies)
Hello
I am new to solaris samba. After configuring samba through swat I can see the the machine listed under windows workgroup computers. when selected it shows the shared directories, But when trying to connect to shares shows a error network path not found.
At the same time solaris network... (5 Replies)
Hi,
I have a file abcd.txt which has contents in the form of full path file names i.e.
$home> vi abcd.txt
/a/b/c/r1.txt
/q/w/e/r2.txt
/z/x/c/r3.txt
Now I want to retrieve only the directory path name for each row
i.e
/a/b/c/
/q/w/e/
How to get the same through shell script?... (7 Replies)
When i configure apache(2.2.15) on solaris-8 server it producing following error
<configure: error: no acceptable ld found in $PATH
configure failed for srclib/apr >
please help me any to fix this error.
:confused:
---------- Post updated at 09:44 PM ---------- Previous update was... (0 Replies)
hi ,
I have certain files at the same path with differeent extensions like .dat , .txt etc ...........i need to rename them with extension .found at the same path with the help of loop....
also the files names will be like this ;
abc_2010_c1.dat
abc_2010_c2.dat
xyz_2010_c1.txt (2 Replies)
i have written a script "master.shell" which is in the path:
/a/homes.surrey.ac.uk/pgt_fs_002/bl00001/phd/griddata/shell/master.shell
====================================
#/usr/local/bin/tcsh
setenv GLOBUS_LOCATION /grid/software/globus3
setenv PATH... (1 Reply)
Hello everyone,
I'm a unix noob. I have a powerbook running mac os x 10.4 and for one of my classes I need to install the latest version of php (5.0.5). I'm following the instructions at http://developer.apple.com/internet/opensource/php.html to install but I've run into a problem.
The... (2 Replies)
Hello,
I got a make compilation error saying
make: *** No rule to make target `/usr/include/iso/stdio_iso.h', needed by `.test.d'. Stop.
The mentioned folder `/usr/include/iso/' doesnt exist in solaris5.7 sparc that i am using.
I need to know which package will actually install the... (1 Reply)