Y
Y
yeszhanov2016-12-30 22:04:55
linux
yeszhanov, 2016-12-30 22:04:55

What books should a system administrator read to learn Python?

Good day. I work as a system administrator (Linux). I think it's time to pull up Python. I know the basics of the language, syntax, etc. I found the material "Linux System Administration with Python" on the net, but it is voiced by an Indian with a terrible accent, after 10 minutes of viewing he freaked out and deleted everything. Interested in the practical application of the language in system administration. Material for learning the basics of the language is not needed

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Valentine, 2016-12-31
@vvpoloskin

From personal experience - when I worked as a network almin and I had 8k motley active network equipment in operation, I actively used python to poll various devices via snmp, a telnet bot. I also made a stupid web interface for the change so that you can turn on / off the port on the switches, sign the description. I tried to make a configuration generator on it, but bash + sed came up better for this.
We must dance from the task, not from the language. In my humble opinion, the python is redundant for everyday system administration, bash is more than enough. It is convenient for large extensible programs, but how often do you need to write such software to the admin yourself? It's also good for network programming, but then again, how often do you need to burn sockets? Useful for parsing all kinds of html/xml.
One-liners are inconvenient to write on it, and in everyday admin scripting they make up the lion's share of the work.

R
Ranwise, 2016-12-31
@Ranwise

there is a book Pro Python System Administration, Rytis Sileika, 2nd - 2014

D
Derevianko Alexander, 2016-12-31
@dio4

www.ozon.ru/context/detail/id/8382719

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question