如何将命令参数发送到php文件

Solved : http://php.net/manual/en/function.shell-exec.php

I have a .PHP file that when I run it in terminal (image), it's gives outputs and work fine, for example sudo ./hd-wallet-derive.php -g

It is work good in Ubuntu terminal.

So how can I use it in my website?

For example write what to call sudo ./hd-wallet-derive.php -g in a php file?

How to pass parameters in php to this file such as in terminal?

I want to use this file's option in my website