Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bash or zsh? #2

Open
k8hertweck opened this issue Jun 5, 2020 · 2 comments
Open

bash or zsh? #2

k8hertweck opened this issue Jun 5, 2020 · 2 comments

Comments

@k8hertweck
Copy link
Collaborator

zsh is apparently superior, and Mac OS X now ships with zsh as default. However, bash is still default on most clusters.

Easiest option is to teach things that will be consistent between these two most common shells (ideas from Dirk):

  • double square brackets
  • $() instead of back ticks to access sub shell

Other resources:

@k8hertweck
Copy link
Collaborator Author

added to class 1

@k8hertweck
Copy link
Collaborator Author

k8hertweck commented Nov 17, 2020

Need to test materials on zsh and see where differences are, and how to accommodate (include explanation of differences, or ask everyone to use bash?)

  • command prompt
  • include links above
  • for loop recall

@k8hertweck k8hertweck reopened this Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant