Whst shell is wise to use?
I was wondering what would be the best shell to learn. I was thinking of zsh, then a buddy said that I should stick to bash. That as a noob that is more then efficient for what I would need to learn on. That he has been using vanilla bash, and it does everything he needs and more. But as a noob I don't have much knowledge to talk on, so I didn't want to point out the security problem that was seen with bash, due to possibly sounding more of a noob. Is zsh a good choice or not? I plan on sticking with Arch and diving head first into it knowing nothing about linux. That way I am force to learn what I need as I go. While study and cramming from a Linux + book I bought. Any good starting out advice is more then welcomed.
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- aiulo8
9 comments
definitely stick with bash in the beginning. it's the default on almost every distro and most every shell script you come across anywhere will be written in bash. any linux related instructions, tutorials, etc on the web will assume you're using bash.
once you're comfortable with linux and using the terminal you can experiment with other shells. just install one and run it like any other program and see how you like it. i like fish
zsh is fine for every day interactive use
shell scripts I would do bash, or even just sh
Not an expert on that matter but I think it really does not matter much.
Bash is the de facto standard but zsh is mostly compatible with a few extra helpful features such as improved tab completion and globbing.
If you learn to use bash you can also use zsh and vice versa. Maybe start with bash and then look into zsh?
That way you wont be surprised if you log into a computer with only bash.
But it is not really a big thing. You can start with zsh as well and enjoy the zsh features from the start.
If you learn only zsh you will be a bit lost if you use someone else's machine which doesn't have it. If you learn bash, you will always have it on any Linux machine and be ready to go. For the same reason I suggest you don't customize your shell too much, learn the defaults instead.
bash is the best place to start. It's the most universal for Linux distributions, and the de facto standard for scripting. There are lots of other options you can move on to once you're familiar and comfortable with bash.
When in doubt, bash. If you wanna look cool, zsh. Or if you're too much of a hipster for mainstream shells use fish.
If you're going to be in a professional environment, stick to bash, since that's all CentOS and red hat is going to give you.
Start out with bash and switch to zsh later. You will actually understand why zsh makes changes and why they are useful
Any so long as your comfortable.