Skip to content

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.

0 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
aiulo8

Author

1
posts
0
comments
0
media
View profile

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

11 points

zsh is fine for every day interactive use

shell scripts I would do bash, or even just sh

6 points

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.

5 points

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.

4 points

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.

3 points

When in doubt, bash. If you wanna look cool, zsh. Or if you're too much of a hipster for mainstream shells use fish.

3 points

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.

2 points

Start out with bash and switch to zsh later. You will actually understand why zsh makes changes and why they are useful

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.