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?

  • thingsiplay@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    14 hours ago

    However my personal shell preference is zsh. When I write scripts I do so using bash. The two shells are 99% similar on a day to day basis, but I prefer zsh for a user interface. So I use one for day to day and the other for scripting.

    I used to do the same, Bash as the default script interpreter and ZSH as my terminal interactive shell. Worked well. I also had Dash as the /usr/bin/sh installed. But once I installed a new OS, I did not want to set it up immediately and wanted to do it later. Then I realized that I do not need to and frankly didn’t notice any difference. Besides ZSH was a bit slow here and there with the kind of setup I had. So since then I stayed on Bash only again and don’t miss most of the stuff (but ZSH had some nice features).

    I wouldn’t have even mentioned Fish here, its too different. If you going to learn a scripting language that is this different, then there are even more shells out there. I would stick to Bash (or ZSH for that matter). Especially if its the first shell language you get into.

    • MimicJar@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      14 hours ago

      Yeah, I mentioned fish, or zsh, only because day to day shell and scripting shell can be different.

      If you want to script, bash is the way to go. For day to day, any personal preference is fine.