help with running a Linux program
i have a redhat Linx - i am trying to run a prog that I created but it wont run. it keeps saying prog not found. i am in the right directory - it shows the prog name when I do an ls -l but it wont run. I also tried ./myprog1 but does not find the directory. I also dont know how to see the version of Linux
your help will be greatly appreciated. |
Hiya
I'm impressed that you wrote a program. I'm tying to bend my brain around Java.
As to your question. Te only thing I can think of that would interfere Linuz-wize is permissions. You need to have execute permits on the file and the folder it is in. |
Welcome to LQ.
Quote:
Quote:
And use uname -a command to see the version and all. |
got it
permission was the issue. it only works with ./ - however when I create a new file it assigns and S to the owner executable . like rwxrwSrwx. but I can do anything with the file though.
thanks a lot |
Now if your problem has been solved, you can mark it as SOLVED.
|
All times are GMT -5. The time now is 08:49 AM. |