I did some reading on these things but still confused until now.What is the difference between these four? I hope someone can give a simple and direct explanation.
system()
passthru()
exec()
shell_exec()
Lets say I have a a shell script called start.sh at /root/scripts. How do I run it using the four commands above? Please give an example.
Also, is there a way for us to check whether the shell scripts ran successfully or not via ny of these four commands mentioned?
Thanks a million
James