Skip to main content


Question for any sysadmins out there, that learned Python... how much of a cost/benefit did you get from switching to it from shell for scripting? Are the pros enough for the effort entailed (I understand this of course depends on each person's needs... but u know)?

#sysadmin #bash #ShellScripting #Python

planetscape reshared this.

I do a lot of sysadmin stuff & a lot of python stuff & bc I really like #python I want to tell you to "go out and learn it to make yourself a better sysadmin!!" but if you're already scripting w/bash/PowerShell, those tools are just fine (& often the most efficient) for #sysadmin work.
If you want to make your all-around IT skill set more dynamic, then learn python, which is worth the effort & might stir up ideas for more elegant solutions to problems you encounter
It depends on needs and availability. I love #Python but I am forced to use #ShellScripts because they are good enough 90+% of the time and because Python isn't installed on the Production instances I run.
it really depends on the context. Bash is basically universal, which is nice. But complex bash scripts are unmaintainable - the language simply isn't made for actual programming. There's a place for each of them, I think.
for me ut is complexity based; my maxim is “use the smallest tool that succinctly solves the problem “. So sed awk shell python. Ish. So when things become cumbersome in shell, use python. I have a lot of each, but the complex stuff is python.

This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.