38. Python for system administration

From Linux+ XK0-006 Audio Course · 01:02:14

Show by iTechVista

Bash is superb at running commands in sequence. It is poor at anything else — arithmetic that is not integers, structured data, error handling, anything you will still want to read in a year. The honest rule is a length one: when a shell script passes about a hundred lines, or the moment it starts parsing JSON, rewrite it in Python. Ansible is written in Python, so is dnf, so is most of the Linux automation ecosystem, and a great deal of what a Linux administrator does with Python is gluing existing tools together rather than writing programs from scratch.Full written lesson, labs and practice questions: https://itechvista.com/blogs/lessons/python-for-system-administrationAll 48 lessons: https://itechvista.com/blogs/lessonsExam simulator: https://itechvista.com/pages/linux-v8-simulatorThis episode is a study companion for CompTIA Linux+ XK0-006 and is not produced by or endorsed by CompTIA.

More episodes of Linux+ XK0-006 Audio Course

More episodes

PodSearch is a free, independent podcast search engine. Read about PodSearch, the privacy policy or contact us.