How to run multiple commands in system, exec or shell_exec?

前端 未结 4 1023
小鲜肉
小鲜肉 2021-01-23 00:05

I\'m trying to run shell command like this from php:

ls -a | grep mydir

But php only uses the first command. Is there any way to force php to p

4条回答
提交回复
热议问题