On Sun, 14 Jan 2001, lll wrote:

>i just downloaded a c program and it said to make it executable 'chmod
>+x file', and when im going to run it it just says that the file doesnt
>exist.. helP.

What did you download? The c-source code?
Making that +x won't help. You have to compile it first:

gcc <programname>
The result is "a.out". You can keep that or make that another name:

mv a.out sensible_name

Then chmod +x sensible_name
After that you have to

./sensible_name (note the ./ at the start) to make things run.

Good luck!
Paul

-- 
Press any key to continue. Any other key to abort.

http://nlpagan.net - ICQ 147208 - Registered Linux User 174403
             Linux Mandrake 7.2 - Pine 4.31


Reply via email to