On Thu, May 12, 2016 at 03:53:11PM -0700, Ski Kacoroski wrote: > Yves, > > I teach a scripting/automation system admin course at a local > college. What I am finding is that the language used depends on: > > * if you primarily windows - powershell > > * if you are primarily linux then > ** if you are younger - python > ** if you are older - perl > > Being an older type who is cross platform I use mostly perl and > powershell with bash/awk for simple things on linux. In my current > class, I have 2 students using python, 1 using a mix of bash and > python, and 4 using powershell. > > cheers, > > ski > > On 05/12/2016 03:38 PM, Yves Dorfsman wrote: > > > >A lot of people love to hate bash, and there are good reasons for it, but it > >seems that there isn't an obvious replacement for it. > > > >At some point it looked like perl was going to be it, then depending on the > >local preferences some shops use either python or ruby, heavy JVM shop often > >use groovy, while more and more shops now even use js or go... > > > >I find bash (or any other UNIX shell) much more natural for simple scripts, I > >don't even mind all gotchas (set -e, super weak typing, every var is gobal, > >etc..), but do hate how bad it is to manipulate data, and the difficulty to > >organize code. > > > >What do *you* use? Do you see any clear winner to replace it on the horizon? > > >
I use Python and bash. bash usually for simpler tasks more around interacting with other processes or piping output around (Python's object based approach here is a bit cumbersome), Python for anything needing to talk to API's, databases, etc. Ray _______________________________________________ Tech mailing list Tech@lists.lopsa.org https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/