LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-23-2002, 11:27 AM   #1
macshark
LQ Newbie
 
Registered: Dec 2002
Posts: 18

Rep: Reputation: 0
Unhappy bash and kde not working


after installing the java sdk from sun, and I set the path in the etc/profile, kde does not start up correctly, and in terminal, basic functions like "ls" and "reboot" are invalid commands.

i can't even run emacs or pico to edit the profile file. i can get to the command line, but it seemed that the bash was not fully loaded.

any ideas on how this can be solved? thks.
 
Old 12-23-2002, 01:12 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I guess you did something like:
export PATH=JAVA_PATH_THERE
instead of
export PATH=$PATH:JAVA_PATH_THERE
Edit /etc/profile and change it. Before you do it:
export PATH=/sbin:/usr/sbin:/bin:/usr/bin
It should be enough to make most of the things working.

Why?
When you run
export PATH=/usr/local/bin
you chnage your PATH to '/usr/local/bin'. It's not what you should do, because you usually want to keep old PATH and only add a new directory to it.
export PATH=$PATH:/usr/local/bin
adds /usr/local/bin to your PATH.

Last edited by Mara; 12-23-2002 at 01:15 PM.
 
  


Reply



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
Many times Bash is not working why? sathyguy Linux - Newbie 6 10-11-2005 01:15 PM
Bash scripts not working anticuchos Linux - Newbie 5 09-25-2005 09:40 PM
bash / sh not working (not recognized?) hallamigo Linux - Newbie 5 04-12-2004 06:08 PM
Bash script not working AMMullan Linux - General 2 09-28-2003 07:10 PM
bash shell not working? magyartoth Linux - General 4 04-09-2002 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:19 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
Open Source Consulting | Domain Registration