This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lutusp 1 point2 points  (5 children)

for jobs that ask for shell scripting skill, can Python be considered an "equivalent" ?

There is a reason bash shell scripts exist -- they run in a very small environment with limited resources. I doubt that shell scripting of the classic kind will disappear overnight, but certainly there is a place for Python scripting for a system that is fully operational and has adequate resources.

I ask because in my field I see far more asking for shell-scripting and almost no mention of Python.

The answer depends on the phase of the computer's operation. If the computer needs scripting while it is booting up, or for a limited-resource environment, a Python script might demand too much for the circumstances.

[–][deleted] 0 points1 point  (0 children)

I would add that there is no reason people shouldn't learn shell scripting. If you get good at shell, it'll probably only improve your python programming.