Integrating Bash with PHP
Octavia Andreea Anghel is back on DevX.com with another PHP-related article. This week it's about Integrating Bash with PHP.
The article discusses how to install and configure three Bash distributions for Windows: the GNU BASH shell for Windows, the Win-Bash Windows port, and the Cygwin tool. It also demonstrates how to execute Bash scripts using PHP, how to send different types of arguments to a Bash script, how to use Bash functions from PHP, and how to save results to a text file. Bash is an sh-compatible command language interpreter that executes commands read from standard input or from a file. Bash is a part of the GNU software collection, but is also available for Windows. Bash contains useful features from the Korn shell (k-sh) and C shell (c-sh) and is the default shell on most systems built on top of the Linux kernel as well as on Mac OS X. It can run on most Unix-like operating systems, and has been ported to Microsoft Windows using the POSIX emulations provided by Cygwin and MSYS. 0 TrackBacksListed below are links to blogs that reference this entry: Integrating Bash with PHP. TrackBack URL for this entry: https://swarm.jupitermedia.com/mt-tb.cgi/6526 |

Leave a comment