// terminal run php file
// First run "php" in the terminal, in the path directory
php
// If php works there. Then :
php path_to_file/file_name.php
//This will run your php and print stuff to your console in plain text.
//It's useful for a range of testing and data maniplation purposes.
//And has the full php cammand line. So potential is up to your imagination.
If php installed - in cmd > php filename.php
Follow the steps if php not installed, https://www.sitepoint.com/how-to-install-php-on-windows/
//run your php file via terminal
> php PATH/index.php
//to run any command just simply use BackTick
index.php file contain code like this
echo(`Your comman will goes here `);
//=====================
Note: do not use single quotes or double Quotes use backTick otherwise you command
simply printed on terminal without runing.