Do PHP programmers want to learn Linux shell programming?

Source: Internet
Author: User

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,
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.