chmod 777 will make the file world writable, which I doubt anyone wants to do, expecially if its a script that has any sort of priveledges. the best thing to do, is just chmod +x <script name> , then ./script ( as ac1d already said). or as you already found out sh will invoke the shell script.Originally posted here by ac1dsp3ctrum
Hmmm, To run a shell script you just do a chmod 777 script name (if it is already an executable then just do a ./script name




Reply With Quote