I have my amazon instance, i need to add a shell script to its rc.local file so that the shell script executes when i boot my instance. how to set permission to my shell script in rc.local file?
if i execute as shown below , my script does not executes on startup
chmod u+x /home/mylin/exmpl.sh
./exmpl.sh &