0

i have created a bash script file named as shellscript.sh.Which copy content of one file add into host file.This is working when i run this manually using command

sh shellscript.sh

I want to exicute this script from php function.anytone know how to execute.Owner of this file is ubuntu:ubuntu.

I am using dedicated server Amazon ec2 .So have root access.php owned bu another user and file owner is ubuntu.

Touheed Khan
  • 2,111
  • 15
  • 25
CyberAbhay
  • 462
  • 5
  • 15

0 Answers0