Click to See Complete Forum and Search --> : Cant run executables, mandrake 7.2


Antonis
08-06-2001, 12:51 AM
Hi,

I have made a txt file which I convert it executable using chmod +x filename, so I can run it as ./filename

The permission of the file is -rwxrwxrwx but I cannot run it still. I get an error like cannot find file or directory.

What am I doing wrong. Please help me?

Malakin
08-06-2001, 04:11 AM
"./filename" will run it assuming you're in the same directory as the file. Make sure you are using the full file name and including any case sensitivity.

Antonis
08-06-2001, 05:34 AM
I ve done that 100%sure

zverushka
08-06-2001, 11:00 AM
c/c++ program or shell program? If shell, make it into .sh