Click to See Complete Forum and Search --> : What's the problem?


Teft
04-28-2003, 05:03 PM
What is wrong if I type ./<file> and it comes back saying that <file> is "no such file or directory"?

stingray72
04-28-2003, 05:16 PM
The file needs to be executable before that will work. If it's a script or something try

chmod +x <file>

That'll do it

Teft
04-28-2003, 05:22 PM
No dice....

red_over_blue
04-28-2003, 05:40 PM
What is the output if you try something simple like the following:


john@limbo john $ echo "echo Linux Rules" > test
john@limbo john $ chmod 755 test
john@limbo john $ ./test
Linux Rules
john@limbo john $

Teft
04-28-2003, 05:44 PM
It works fine. I can run other files, just not this one.

chrism01
04-29-2003, 04:51 AM
Please run
ls -l
on the file and post the output here.
Also, the 'file' cmd as well.
Thanks