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.

Default path changed


Thread Closed

 
Thread Tools
kevinchkin

 
Member Since: Feb 02, 2009
Posts: 2
kevinchkin is on a distinguished road

kevinchkin is offline
Hi Guys,

By-mistakenly I changed the default path in the terminal.
Like when we do
echo $PATH, it shows some long path right. I executed
export PATH=`pwd` /Users/test/testfolder
instead of
export PATH=`pwd` /Users/test/testfolder:"$PATH"

Could someone please tell me how can I set it's path back to normal?

Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
I do not believe that a simple export will be persistent, try logging in again.

mike
This machine kills fascists
Got # ? phear the command line!
kevinchkin

 
Member Since: Feb 02, 2009
Posts: 2
kevinchkin is on a distinguished road

kevinchkin is offline
Thanks a lot Dysfunction. I quitted the Teminal and started it again and It worked

Thanks once again

Thread Closed


« Compiling for Release on PPC Architecture | Applescript guru? help debug my script? »
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
Can Safari's default search engine be changed? Cantabile Switcher Hangout 13 11-20-2008 02:56 PM
Network path to windows machine on network jdmcm Internet, Networking, and Wireless 0 11-12-2008 01:43 PM
Default Path on Front Row btdickey OS X - Operating System 2 03-06-2008 06:21 PM
Full path is not showing up correctly in address bar mac_min Web Design and Hosting 0 02-28-2008 11:23 AM
how can i set the path? Bo Eddy OS X - Development and Darwin 1 05-12-2004 10:45 AM

All times are GMT -4. The time now is 12:59 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?