Reply content:
Learn, why not learn.
The question is what does this have to do with PHP programmers, like to learn, do you want me to cite a similar "shell Programming for PHP Programmers ten benefits" to learn?
To be a programmer so utilitarian, like to learn, Shell may not be easy to use, but to learn a grammar without much time, you learn a little more and not pregnant. When writing scripts in PHP, there are often bottlenecks (can be written, but some things are more efficient with the shell), such as the operation of the file, using PHP to handle the relative comparison 2. I often use some mash-up approach, popen some commands in PHP, execute a PHP in the shell. Or a more practical Linux, Shell or Python is a very common scripting language.
Learn the script for one reason: Don ' t Repeat yourself. Do not learn the shell, can also solve the problem. If you learn the shell, you don't have to solve the problem repeatedly. It is necessary not to be confined to a language. The bash shell is quirky and can be used to learn more about Python's simple, easy-to-use, and more generic scripting language. The Linux shell is understood as the Linux Server command set on the line. If you have access to server operations, in order to minimize duplication of effort, it is unavoidable to pack the commands (you can also use Python and Perl instead of the shell); otherwise, if just as a PHP programmer, it is not necessary to struggle to learn the shell, learn how deep, At the level of language grammar, they are not fundamentally different, like English and Chinese, but only in application scenarios. If you develop a background script, the application scenario is Chinese, you do not have to learn to master the shell, Daniel is also dry + summed up, rather than just learn. I'm interviewing companies that have knowledge questions about Linux and Shell,