So I’ve been using Linux now for a while, and am looking to migrate my dev environment to vim and spend more time in the command line. I’m fairly comfortable with bash but by no means an expert. I’ve used zsh with some minor customization but just recently learned about fish. I’d love to hear people’s opinions.

  • zitronen@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Why not use Perl or python for scripting tasks? Bash script is terrible imo.

    • Max-P@lemmy.max-p.me
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      I mean, I guess technically Perl could do but it wont earn you any favors from your coworkers.

      I do use Python for higher level stuff but I don’t see a point to go Python when you’re just gonna call 20 subprocess anyway to do like apt update apt dist-upgrade apt install wget this untar this rsync this. Especially when you can’t even assume you’re going to have Python to provision the box.

      • zitronen@feddit.de
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        11 months ago

        That’s why I included Perl, it is always there. Just don’t code as if you were in the nineties and Perl is a perfectly legitimate language, even more so for shell tasks. Bad and good doesn’t depend so much on the language but the coder.