View Single Post
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#2
Originally Posted by fareed_xtreme View Post
The following is a script I wrote but I have no clue on how to make it executable and how can i make an icon for it to launch a script. If someone would be kind to pass a few links, will be helpful for me.
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.
Originally Posted by fareed_xtreme View Post
Does Linux Scripts support GOTO and Labels? Also I had referred a few sites over google to come up with this.. Hope someone helps with corrections.
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`;
__________________
The Mini-USB plug is an improvement over both the Type B plug and the Micro-B plug.
 

The Following 2 Users Say Thank You to j.s For This Useful Post: