Recently I got really interested in debloating and hardening my operating systems, cause I’m heavily inspired by Unix and “worse is better” philosophy. As I heard bash is heavy and we have much more lightweight and faster alternatives like these mentioned in title. They must be great alternative for scripting and interpreting but is there any reason to use them on my machines as interactive shell? Anyone are using them? Also is it worth to learn them as bash is standard IT industry?

  • blackbrook@mander.xyz
    link
    fedilink
    arrow-up
    6
    ·
    24 hours ago

    The question is what does OP mean by 'heavy’and what benefit do they hope to get from a ‘lighter’ shell. Memory or performance seems inconsequential in this case, but how about attack surface? Is there some benefit from a security standpoint of running a simpler shell?

    • mlody@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      22 hours ago

      RAM doesn’t matter for me. Smaller code base is reducing attack surface for sure.

      • iByteABit@lemmy.ml
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        3 hours ago

        I don’t think anyone is gonna hack you because of bash being a larger codebase

        If I absolutely had to pick one as insecure, it would be anything other than bash since it has been around for so long, has its code read by so many people, that there’s no way that a major hole exists in it

        Overall though I don’t think security or performance is a good metric for you to pick something as simple as a shell, just pick the one that gives you the best experience and features. Being compatible with bash is a big plus because it’s the industry standard, like zsh for example