Poll: Your Favorite Scripting Language?

Like most sys admin, I’m lazy. I try to automate almost all things in order to save time. Inexperienced sys admin and help desk staff working under me finds all these tools useful. It saves their time and avoids security issues. Automation allows help desk staff to do things that they don’t have enough direct system knowledge to do themselves. However, selecting correct tool and applying correct methodology is very important.

Personally, I prefer BASH, Perl and Python (best glue languages) for my automation and sys admin work needs. Currently, I’m learning Django a high-level Python web framework with rapid development and clean, pragmatic design. It is important to note that Perl / Python is not the answer to all of your sys admin problems or web projects. What appropriate scripting language do you use to solve problems? What do you guys think?

[poll id=”4″]
🐧 Please support my work on Patreon or with a donation.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
36 comments… add one
  • Steve Mar 16, 2013 @ 15:39

    Korn beats bash on at least two counts – it doesn’t run pipelines in a subshell and, the killer command for me, cd can take two args! And Perl, of course, for the funky stuff that’s got to run fast.

  • daniel Sep 28, 2011 @ 8:32

    bash, php, javascript

  • Vamsi Nov 28, 2010 @ 12:04

    I am learning Python ..

  • PrDatur Mar 2, 2010 @ 21:44

    I prefer for some short and easy things bash, but mostly i write php command tools, i know that php is not really fast but for the most things the speed is enough for me, and couse i’m programming php for the last 7 years, i can write my things very fast 😛
    so ranking
    1. php/bash and nothing else 😛 only if i need something else really.

  • pakozdi Jan 16, 2010 @ 0:36

    TCL of course!!!

  • cfajohnson Sep 28, 2009 @ 14:56

    For most things, POSIX shell.

    For more complicated programs, bash.

  • suhail Jun 14, 2009 @ 5:20

    As an admin I used to use bash for every small and big things in our organization where i am working, but since the last 2 months thta i am learning python, I am enjoying it and i have started using python for every small and big scripts required for monitoring and admin part. So my vote goes to Python.

  • AYAK May 14, 2009 @ 6:49

    of course bash and his friend :S

  • AYAK May 14, 2009 @ 6:46

    Pb =PHP,Perl,Python,bash 😀 they are the best 😛

  • max Apr 22, 2009 @ 13:13
  • jiltin Apr 9, 2009 @ 11:16

    No wonder Bash first, php second, sql third for me!

  • ennen Apr 4, 2009 @ 18:26

    Bash for small scripts, Ruby for everything else.

  • anonymous coward Apr 2, 2009 @ 13:48

    vbscript YAY!

  • mSi Mar 26, 2009 @ 17:05

    Python & Perl 🙂

  • wom Mar 24, 2009 @ 21:45

    @ Vince
    Perl/Python(Even, to an extend, tcl) are .compilable …;)

    My adventures in compiling tcl are painful…

  • farzaam Mar 21, 2009 @ 0:26

    Groovy is my choice.

  • aneesh Mar 19, 2009 @ 7:32

    I use Bash script as it is very easy to use and very handy..

  • Vince Mar 19, 2009 @ 4:26

    Any language that’s compilable is not a scripting language (C, C++, and to a certain extent, java). Scripting languages are interpreted and do not run natively on a system (i.e.: shells, perl, etc).

    With that said, I use Korn for creating jobs and reports, perl for anything that involves regular expressions, or a combination of the two.

  • sims Mar 19, 2009 @ 0:54

    Why sh? Because it’s there on most systems. I think that is only reason I use it. Otherwise I’d be happy with Perl. Then I use Python or PHP to write an app or webapp. C++ or Java to develop software.

    Some of these other languages are just too slow.

  • edgar Mar 18, 2009 @ 19:45

    i use bash (and friends) .. i voted bash and friends, i guess its much easy somehow and that friends added makes it almost complete.

  • Trey Blancher Mar 18, 2009 @ 18:22

    I work a lowly tech support job now, so I rarely do any scripting. Last time I had an admin job I did all my scripting in Perl, because at the time I was most comfortable with it. I’d probably go back to using it if I had the chance. But I voted for bash, et al., simply because most of my limited shell scripting nowadays doesn’t require anything more.

  • M7MoD Mar 18, 2009 @ 18:15

    i love bash scripting and python also i love those languages

  • Ulver Mar 18, 2009 @ 13:12

    ¿could be a choice bash+pl-sql? (aka basql) xD

    seriously for small things (quick-and-dirty) bash, for web php , for other stuff c

  • g0dkar Mar 18, 2009 @ 13:02

    JavaScript and Perl =]

  • Joe Mar 18, 2009 @ 10:37

    I like to mix them all up. Write the code using Bash n Friends + maybe call in some expect. then write a front end in PHP/HTML to collect the Parameters and its lets it publish it to any numpties who want to use it.

  • max Mar 18, 2009 @ 10:16

    combination of bash & perl => barl 🙂

  • Shoaibi Mar 18, 2009 @ 10:15

    For small scripts BASH/TCSH and for long scripts Python. You might think quite the opposite, but in long scripts i need readability and can compromise a little performance for it.

  • Joe Nobody Mar 18, 2009 @ 1:33

    Change the Bash and friends to {c,tc,k,ba,z}sh and friends 🙂

  • Christer Edwards Mar 18, 2009 @ 0:44

    Bash for quick and dirty stuff. Perl for more intricate things.

  • komradebob Mar 17, 2009 @ 22:39

    bash has, by far, replaces csh/sh for me. Starting in on ruby.

    There are still a few things that are just easier to do in good old fashioned c though. 🙂

  • zs Mar 17, 2009 @ 20:49


  • housetier Mar 17, 2009 @ 20:17

    I use zsh more than bash, however, I use python when the script’s estimated use time exceeds 3 hours.

  • Seraphyn Mar 17, 2009 @ 19:47

    LUA should be named too.
    Greets from a daily reader, keep up the good work

  • nick Mar 17, 2009 @ 19:41

    It was a hard choice… broke it down based on the post… I use Bash to automate almost everything I do… but when it comes to selecting a Scripting language for programming, I go with Python, but for most hardcore programming…. I’m a dev… so I use C or Java, but Python is on its way to replacing both in my head.

  • Jaime Barragan Mar 17, 2009 @ 19:12

    Javascript Just kidding, Can Ant be considered in this category?

  • ukdavo Mar 17, 2009 @ 18:56

    Groovy 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Problem posting comment? Email me @ webmaster@cyberciti.biz