Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.