Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 for a video i made of it in action.

N.B. - I have my nvidia .run file on my desktop - I double click it, and it appears to run but stops asking for sudo permissions.

So I open a terminal and attempt to run it via a sudo sh [file] and sudo ./[file] but both give file not found

if you can help fix this? then please do!

share|improve this question
wow, someone edited this to be nothing like the original question.. – Alex May 5 '13 at 19:23
up vote 3 down vote accepted

The File seems to be in your Desktop, so you first have to cd Desktop (or whatever its called in your language) before trying to run it. Try it and please inform if you succeed. This answer may change based on your results.

Thank you and Good Luck!

share|improve this answer
ahhh, lol, good eye! – Alex Mar 28 '12 at 20:02
IT works now! thanks yall! – Alex Mar 28 '12 at 20:04

Try using sudo su, and running the script afterwards. Did you set chmod +x ?

share|improve this answer
This was my issue. For some reason sudo says "command not found" instead of "file not executable" -- this is a bug in linux – Jonathan Leaders Feb 23 at 17:07

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.