View Single Post
fareed_xtreme's Avatar
Posts: 238 | Thanked: 291 times | Joined on Mar 2010 @ London, UK
#3
Originally Posted by j.s View Post
Code:
chmod +x filename
makes a file executable. The file system needs to be mounted with the exec option. The Mydocs partition is mounted noexec by default, so your script should be stored someplace else if it is on Mydocs.


For elaborate logic flow, you might want to consider perl or python. perl can invoke OS commands with
Code:
system "command options arguments";
or
Code:
`command options arguments`;
Thanks a lot for your assistance on this. I wil try it out in a few minutes and hope I can get it to work.