The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-29-2006
Registered User
 

Join Date: Apr 2006
Posts: 6
Unhappy set variable PATH

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,
Reply With Quote
Forum Sponsor
  #2  
Old 05-29-2006
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,610
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
Reply With Quote
  #3  
Old 05-29-2006
Registered User
 

Join Date: Apr 2006
Posts: 6
Wink

i am using bash
great!!
that worked, my thanks to you!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:22 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0