r/linuxadmin • u/dimkoss11 • May 22 '26
A high-level language for scripting?
I usually use Python or C# for writing scripts, what are the disadvantages of this compared to use Windows Batch, PowerShell, Bash?
16
Upvotes
View all comments
Show parent comment
1
u/franktheworm May 22 '26
While I agree with not adding PowerShell, that's more of a straw man than that character from the wizard of oz. By that logic you should be using a statically linked, compiled language like Go etc to cut down on all the other stuff in the container...
In a more serious sense, if you've got things configured right, the number of times you are execing into containers should tiny anyway. Instrumenting you code properly negates the need for a shell, particularly in prod.