Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a green corn in Ubuntu.My question might not be so accurate.The problem I am facing is :if I run the script 'runzdclient'(the name of the script) directly in terminal,I get a warning 'invalid password or user name'. However, if I click the script and run it ,there aren't any problem.Notice that the script can run irrespective of which the folder I am in . I guess that the script must be in the environment.Here comes the problem: How can I remove the wrong script with the right one in the environment?

share|improve this question

Type which runzdclient in the terminal. That will tell you where it's running the script from. If it's trying to run it from a place you don't expect it to be, you can get rid of that copy and/or overwrite it with the copy that works correctly.

share|improve this answer
Thank you so much! – Nickirk Nov 19 '12 at 11:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.