I really don't understand why bash still exists. I've switched to fish and am much happier with the change.
I really don't understand why bash still exists. I've switched to fish and am much happier with the change.
It basically comes down to tradition, ubiquitousness, and stubbornness. Which is sad to me. We fix other stuff. If an exploit appears in the OS it gets patched. Yet here we have a system that basically defaults to bad behavior, un-secure. It should be redesigned/replaced with something that makes it hard to do it wrong. If not replacing then maybe adding a "safe" mode and slowly deprecating the non-safe way. Sure it may take years. So did moving from python 2 to 3 but it is happening.
Maybe it will take the powers-that-be to start having their data stolen though shell exploits to realize if they made the shell hard to get wrong by default they'd be helping themselves as well?
They didn't back away with anything like "not using it though".
So now we have GNU Autotools.
https://queue.acm.org/detail.cfm?id=2349257
That one person did something damaging doesn't refute the point, though. Just avoid another M4 situation.
How often can you just install fish or use other programming language instead of being forced to use bash?
It's sad people keep using the default just because of being afraid that the next system you touch might not have it and you waste tremendous amount of productivity without using something better.
I know a guy who used vim with default config for that reason. Utterly nonsense.
So I might prefer the fish, and who came before me might have had a preference for zsh. So now I have to deal with three different shells: bash (default), fish (for the scripts i'll be writing from now on) and zsh (because of compatibility). Congrats.
> I know a guy who used vim with default config for that reason. Utterly nonsense.
I started using less and less emacs/vi(m) customization and learn more and more of the defaults for the same reason: whenever I log on a client system I am instantly proficient with the editor without stupid complaints like "but on my box is different..." .
Anecdotal: I have seen people losing their editing speed/proficiency because all of a sudden they were in a clean vim session and had no one of their shiny and colorful plugins.
Hard to see I need to deal with environments where I can do nothing but keep the default every time I use it.
Once you get the speed that is tuned to your liking, the default sounds like you're walking with legs strapped.
Because I am not the only one accessing those environments (please note the plural here).
Currently there are about 13 other sysadmins in my team and we manage clients infrastructures among other things (managed services). From time to time someone from another team accesses those environment (not a sysadmin, but still familiar with the bash shell). Sometimes the client accesses those systems (rare, we try to discourage and avoid that).
Can you even imagine what a mess it would be if we all started applying our own favorite settings ?
(edit: fix grammar)
It seems it's not a good practice to share a single account as it makes it hard to tell who did what.
For a recent example of a related problem: https://bugs.chromium.org/p/chromium/issues/detail?id=533361