BASH vs ZSH Linux Shell Tutorial

Video is ready, Click Here to View ×


This video was sponsored by:
Karl Arvid
John Tedesco –
Steven C. Morreale

For help:


  1. Another awesome zsh feature is if you want to go to a long path you don't have to keep hitting tab. For example if you target path is:

    bash> cd my/su[tab[/du[tab]/e[tab]/l[tab]/pa[tab] # that's a lot of tabbing.
    zsh> cd my/su/du/ex/lo/pa[tab] # one tab and your done!

    And let's say you're jumping around a bunch of different paths, and/or want to toggle between 2 paths in zsh, try doing cd -[tab] and you'll see a numbered list of recent paths and you can just type the number to go there.

    There's actually a TON of awesome things about ZSH like globing to files in subdirectories or moving groups of files.. etc.
    Thanks for the video, though you've merely scratched the surface.

  2. So, the question is, why don't mainstream distributions like ubuntu, mint, debian, arch, etc use zsh? Maybe it's a bash compatibility thing, but doesn't zsh have a bash compatibility mode anyway? I'd love to know.

  3. I use zsh for oh my zsh themes and plugins. Making the great autocomplete in zsh even better with configurable functionality and shortcut keaboard commands. I'm sure you can do most of this in bash aswell (never tried though), but adding plugins in the .zshrc file just seems much easier to me =)

  4. /etc/shells doesn't show the available shells (At least in my case, gentoo linux)

    00:47 ramast work $ cat /etc/shells
    # /etc/shells: valid login shells

    01:22 ramast work $ zsh
    bash: zsh: command not found

    01:22 ramast work $ /bin/zsh
    bash: /bin/zsh: No such file or directory

Leave a Reply

Your email address will not be published.