Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-17-2004, 04:30 PM   #1
LQ Newbie
Registered: Nov 2004
Location: Manchester
Distribution: Suse 10.0
Posts: 27

Rep: Reputation: 15
set path problems

I seem to have messed up somewhere. I've been trying to install a program called EMAN on my machine. The read me for EMAN said that I needed to make 2 modifications the .cshrc (or .tcshrc):
set the LD_LIBRARY_PATH to include $HOME/EMAN/lib and set
executable path to include $HOME/EMAN/bin.

It suggested that I typed the following:

set path = (. $HOME/EMAN/bin $HOME/bin /bin etc.)

after set path I typed $HOME/EMAN/bin

I must have done something wrong, since now when I type simple commands like ls -l or man i get a message saying the command cannot be found. Any ideas what schoolboy error it is that I have made?
Old 12-09-2004, 11:03 AM   #2
LQ Newbie
Registered: Jul 2003
Distribution: mandrake 9.1
Posts: 11

Rep: Reputation: 0

I know what you did.

I don't know how to fix it. It depends on what was in your path.
You overwrote your path instead of adding to it.

This is a month old, so your well past this now -- hopefully. Restoring your path could take a little. You'll need to know where everything is to "run" anything except what you just installed. add /bin back pretty quick and that will solve your "ls" problem.

I am wondering, did you shut this off before you figured it out? What happened? Did it boot? I am suspecting you had a lot of errors.

good luck and I hope you are actually past this.

Old 12-09-2004, 12:00 PM   #3
LQ Newbie
Registered: Dec 2004
Location: Boston
Distribution: all
Posts: 23

Rep: Reputation: 15
I would add the following:

setenv $PATH:$HOME/EMAN/bin:$HOME/bin:/bin:/etc

Notice that I also removed the "." you had set at the beginning of the path. It is not a good idea to include this in you path for security reasons. If you really need it I would put it at the end of your path.

Let me know if this helps.

Old 12-09-2004, 05:28 PM   #4
LQ Newbie
Registered: Nov 2004
Location: Manchester
Distribution: Suse 10.0
Posts: 27

Original Poster
Rep: Reputation: 15
Oops. I'm on two threads. Sorry folks. the other thread is:


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
Set the path systemwide/Set the path for a user with Slackware jayhel Slackware 1 06-12-2005 12:24 AM
9.1 set $PATH seingoku Slackware 6 02-06-2004 03:12 PM
How to set PATH How do I set PATH environment variable? Tranquil Linux - Newbie 3 11-02-2003 02:52 AM
$PATH!? how to set these PATH(s)!? sirpelidor Red Hat 5 10-25-2003 04:00 PM
How to set $PATH for RH 8 Quest Linux - Software 3 07-12-2003 10:58 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:48 PM.

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