example write bash script to run php file Example: run shell script from php file echo shell_exec('sh /home/scripts/fix-perm.sh');