Editing the path

H

handnblndr

Guest
I need to edit the program path for OS 10.4 in order to run a sql client. Any ideas on how to do this?
 

rman


Retired Staff
Joined
Dec 24, 2002
Messages
12,637
Reaction score
168
Points
63
Location
Los Angeles, California
Your Mac's Specs
14in MacBook Pro M1 Max 32GB 2TB
Are you running the sql client from the command line (terminal application)?
 
OP
H

handnblndr

Guest
little more info

rman said:
Are you running the sql client from the command line (terminal application)?
No i downloaded a client from oracle, but if i can do it through the comand then that would be good also.
 
Joined
Jun 25, 2005
Messages
3,231
Reaction score
112
Points
63
Location
On the road
Your Mac's Specs
2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
I'm not sure what your asking. Are you talking about this; PATH=/bin:/sbin:/usr/bin:/usr/sbin ?

In the csh this works;
set path=(/bin /sbin /usr/bin /usr/sbin /some/Oracle/Path)

This might work also;
set path=($path /some/Oracle/Path)

I'm not sure how to do that in the Bash shell.

Also note the order may be important to your program.
 

rman


Retired Staff
Joined
Dec 24, 2002
Messages
12,637
Reaction score
168
Points
63
Location
Los Angeles, California
Your Mac's Specs
14in MacBook Pro M1 Max 32GB 2TB
xstep said:
I'm not sure what your asking. Are you talking about this; PATH=/bin:/sbin:/usr/bin:/usr/sbin ?

In the csh this works;
set path=(/bin /sbin /usr/bin /usr/sbin /some/Oracle/Path)

This might work also;
set path=($path /some/Oracle/Path)

I'm not sure how to do that in the Bash shell.

Also note the order may be important to your program.
This would be better set path=($path /some/Oracle/Path)
if you are using csh or tsch. You would be adding your oracle it to the current path list.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top