![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PATH variable settings | preyan | Shell Programming and Scripting | 5 | 04-15-2008 12:08 AM |
| Getting the path from a variable | vanathi | Shell Programming and Scripting | 3 | 03-04-2008 02:28 AM |
| adding PATH variable | wir3d | UNIX for Dummies Questions & Answers | 3 | 09-19-2007 02:45 AM |
| Create Variable for a PATH | mmignot | Shell Programming and Scripting | 2 | 11-06-2006 12:09 PM |
| Using a variable in File Path | sandeep_hi | Shell Programming and Scripting | 2 | 06-20-2006 04:12 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
i know that this topic discussed for many times but although i had researched them i couldnt succeed in my problem. i am following a step-by-step instruction guide and must do the following: ------------- To ensure access, set the path PATH $ORACLE_HOME/perl/bin:$PATH and set the Perl library path setenv PATH $ORACLE_HOME/perl/lib/5.6.1:$PATH. ------------- i am using sun solaris os. 9 terminal, switch to oracle user, then type export PATH=$PATH:/u01/app/oracle/product/10.1.2/middle/perl/bin after that get the message : PATH=/usr/bin:/u01/app/oracle/product/10.1.2/middle/bin:/u01/app/oracle/product/10.1.2/middle/dcm/bin:/u01/app/oracle/product/10.1.2/middle/opmn/bin:/usr/sbin/:/usr/openwin/bin:/usr/ucb:/etc:.:/u01/app/oracle/product/10.1.2/middle/perl/bin: is not an identifier tried this one again setenv PATH $/u01/app/oracle/product/10.1.2/middle/perl/lib/5.6.1:$PATH setenv: not found i am really dumb, know nothing about unix. please help! cheers, |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
what is the shell that you are using ?
i believe setenv is supported in csh and not in ksh. if your requirement is adding a specified path to your PATH variable, just do this, to add new dir /oracle/ora_home/newdir/ PATH=/oracle/ora_home/newdir:$PATH export PATH |
|
#3
|
|||
|
|||
|
i am using bash
great!! that worked, my thanks to you! |
|||
| Google The UNIX and Linux Forums |