LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2007, 06:20 PM   #1
lumix
Member
 
Registered: Mar 2007
Distribution: Hardy (Gnome on Ubuntu 8.04) on Compaq N600c laptop
Posts: 323

Rep: Reputation: 30
Yikes..


Just goofed and exported a path in all lower case, and naturally I can't even "ls" or anything else like it. Where are paths stored, so I can change it back? Or is there and easier way to restore them?

I typed: export PATH=/usr/local/JKD1.5.0/bin:$path

No caps at the end.
 
Old 03-11-2007, 06:35 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
Just relogin, problem fixed.

For the long way: export should be a shell built in, so no matter what PATH you have, it will always be found. Common places for the path are /bin and /usr/bin, and that should get the system usable. The distribution you use will probably store certain programs elsewhere, possibly there might be a /usr/games/bin, and thats not even looking at the /opt options. Typing "source ~/.bash_profile" should fix the issue. 'Source' is also a builtin i think.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yikes! 5 days to do dynamic dns--what to watch out for? dgermann Linux - Networking 7 04-01-2006 11:16 AM
Yikes! Installation screen unreadable... colors? jbrush SUSE / openSUSE 0 01-17-2006 07:27 PM
Help! Patching Kernel in Suse 10, YIKES! batorma SUSE / openSUSE 3 10-29-2005 02:43 PM
Yikes! Knoppix at it again... salmanal Debian 1 08-09-2005 11:57 PM
Yikes! No one can get Internet thru Linux gateway/router/firewall/DHCP Avatar Linux - Networking 14 02-11-2004 09:50 PM


All times are GMT -5. The time now is 02:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration