Problem executing bash file

前端 未结 5 1509
醉话见心
醉话见心 2021-01-26 17:54

HI there!

I\'ve run into some problem while learning to combine .sh files and PHP. I\'ve create a file test.sh and in that file I call a PHP file called test.php.

<
5条回答
  •  [愿得一人]
    2021-01-26 18:32

    use ./filename.sh

    no matter if your are in the same folder or not, without giving ./ the system is searching the path variable. (/bin/, /usr/bin and so on)

提交回复
热议问题