Home > System Tutorial > LINUX > Do Linux operation and maintenance personnel need to have knowledge of programming languages?

Do Linux operation and maintenance personnel need to have knowledge of programming languages?

王林
Release: 2023-12-31 19:24:09
forward
801 people have browsed it

Do Linux operation and maintenance personnel need to have knowledge of programming languages?

Recently, friends in the same industry or Linux beginners often ask me:

Do operation and maintenance personnel need to learn a language? So which language should they learn?

I will answer this question in two ways:

First choice, today with the rapid development of big data and cloud computing, if system operation and maintenance personnel do not know a little development language, it will really be difficult, because in operation and maintenance work, there are many business systems and the scale of online servers is very large Sometimes, it can only be completed automatically by writing scripts (automation is also a kind of script). Otherwise, such repetitive and tedious work cannot be afforded by manpower. Therefore, learn a language that can complete operation and maintenance work in batches. , it becomes very important.

So what language should I learn?

For Linux system operation and maintenance personnel, the answer is more complicated because there are many choices. shell, perl, python, ruby, etc.

I think that every Linux system operation and maintenance personnel should know the Linux shell (sh or bash), and also know a language among Perl, Ruby or Python. It doesn't matter which language you learn.

In my opinion, any language serves the operation and maintenance work. As long as it can complete the operation and maintenance work, whichever language you like, then you can use which language. Of course, there will be some differences for beginners. If you are a beginner, it will be very helpful for your future work to recommend a language that is currently popular or used in many enterprises. After all, no company is willing to accept an unfamiliar language.

So, should beginners learn an operation and maintenance language immediately from the beginning? I think this is too early, because any language, especially languages ​​such as shell and python, are closely related to Linux. If When you don’t know anything about Linux, just trying to learn a language at a loss is tantamount to a blind person trying to grasp an elephant. So I suggest that when learning a system language, you must have a Linux foundation before learning it. You will find that the language becomes much easier. .

Shell is a universal system language that all operation and maintenance personnel must understand and master. Shell can help us solve many repetitive and tedious tasks in daily work, but the basis of shell is system commands, so , only by mastering the principles and usage of system commands can the shell run. I have met many friends who are learning Linux. They have also been involved in operation and maintenance for many years, but they have no idea how to execute for loops, while loops, if with [[or[, $1, $2, $3... $*, $@ and the use of case statements are not known. Sooner or later, they will blame themselves for not learning bash as early as possible.

Then someone asked me again, I am already very familiar with the shell, but I still can’t find a job. Many units require python or ruby ​​and other languages. Do I still need to learn these languages?

This problem is divided into two aspects. First, from the employee's perspective, companies recruit employees to serve themselves. As long as the tasks assigned to employees can be completed with quality and quantity, it is actually enough. As for what language to use? What is achieved is not important. Some companies may, out of habit or tradition, force all work to be done in one language. This is a corporate environment issue. If every employee has the habit of being completely dependent on the company, wouldn't it be necessary to learn all languages? Obviously, this is not the norm.

Many friends have seen the recruitment information. The language requirements are basically familiar with shell, python, perl, etc., which means that the language requirements for operation and maintenance work are relatively broad. I have worked for many Large companies have professional task scheduling and management platforms for operation and maintenance work. The scheduling management platform can support operation and maintenance scheduling tasks written in any language, so you don't need to worry about which language to learn.

Then, From a career management perspective, I think being really good at one of the languages ​​and dabbling in other languages ​​is the biggest competitiveness, even if it means just reading the introduction The first few chapters of books in these languages. Being really good at one of these languages ​​means that you have a deep understanding of how to use the language and a deep understanding of what the language is like "under the hood", so that you can make more reasonable decisions when designing larger programs. The reason why I raise this issue to the level of a career management issue is that if you want to be employed by a company that uses a different language, "being an expert who is willing to learn different languages ​​​​is far more important than "being an expert who only wants to learn another language" Languages ​​with potential" or "people who know a little bit about this or that language, but have never had the patience to learn a language well" are important.

I am Ant from South Africa, a front-line worker who has been engaged in operation and maintenance for many years. If you are still confused about how to learn an operation and maintenance language, you might as well take a look!

The above is the detailed content of Do Linux operation and maintenance personnel need to have knowledge of programming languages?. For more information, please follow other related articles on the PHP Chinese website!

source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template