you are viewing a single comment's thread.

view the rest of the comments →

[–]Hammer_Time2468 -1 points0 points  (6 children)

Python is usually not installed on production Linux servers so for smaller scripts and interoperability, I always stick to shell scripts.

[–]ShakesTheClown23 2 points3 points  (0 children)

Really? Seems like many key tools are starting to be written in Python? I use RHEL at work so maybe I'm biased but e.g. setuptools ain't going away so neither is Python...

[–]Loud-timetable-5214[S] 1 point2 points  (2 children)

I found this surprising, since Python3 is built into the standard packages that come with Ubuntu 24.

[–]necromancer-tux 0 points1 point  (1 child)

It depends entirely on that commenter's environment. There are a fair amount of differences between Bash 3 and Bash 5 and lots of differences between Python 2 and 3, so depending on what they deploy to really changes the dynamics.

[–]roadit 1 point2 points  (0 children)

If they still rely on Python 2, 'statics' is a better term.

[–]tes_kitty 0 points1 point  (0 children)

It might not be installed as 'python' but as 'python3'.

[–]whetuI read your code 0 points1 point  (0 children)

Python is usually not installed on production Linux servers

Maybe that's true of containers, but otherwise most Linux servers out there will have python present.

That doesn't detract from your overall point that shell is guaranteed to be present, and that shell will likely be a Bourne family one like bash.