New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Editing the path


Post Reply New Thread Subscribe

 
Thread Tools
handnblndr
Guest
 
Posts: n/a

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?
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
Are you running the sql client from the command line (terminal application)?

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks
handnblndr
Guest
 
Posts: n/a

Quote:
Originally Posted by rman
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.
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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.
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
Quote:
Originally Posted by xstep
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.

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks

Post Reply New Thread Subscribe


« Host Name length in MAC | Quick Apple Script Question »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
is iBook capable for adequate video editing? lust4life Movies and Video 21 07-30-2005 08:03 PM
XCode Include path problem Jove OS X - Development and Darwin 0 03-18-2005 09:41 AM
A Mac worthy of video editing; what are my options? thendis Other Hardware and Peripherals 2 10-26-2004 11:24 AM
how can i set the path? Bo Eddy OS X - Development and Darwin 1 05-12-2004 10:45 AM
Getting the full path of a file rcwhite OS X - Operating System 1 03-13-2004 01:36 AM

All times are GMT -4. The time now is 04:19 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?