are they same " sh execution " and " ./ execution "
i created a script file named myscript.sh
i ran this by typing sh myscript.sh and i got my output
when i tried to execute by typing ./myscript.sh i received permission denied error
i gave permission as chmod 777 myscript.sh
then i executed by typing ./myscript.sh . It worked fine
so i wanted to know whether using sh and ./ with permissions are same.. ?
or did it work for only this.. are there any differences ???
Last edited by shravee; 04-17-2010 at 01:07 AM.