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
6
u/aenae May 22 '26
Because we're not going to spend an extra 1GB to include powershell in our containers.
It is not about wanting your scripting environment to also work as a shell, but for your shell to have an (however minimal) scripting environment. You could write a script like 'grep "Error" /var/log/syslog' in python, or powershell. Or you could use (ba)sh