Questions
- Which command would you use to view all of the
zsh
modules that have been loaded into yourzsh
session?-
zmodls
zmod -l
zmodload -l
zmodload
-
- You want to load the math function module. Which of these commands would you use?
-
zmod mathfunc
zmod zsh/mathfunc
-
zmodload -l mathfunc
zmodload -l zsh/mathfunc
zmodload zsh/mathfunc
-
- What is a major difference between the way that
bash
andzsh
handle arrays?- There is no difference.
bash
array indexing begins at 1,zsh
array indexing begins at 0.-
bash
array indexing begins at 0,zsh
array indexing begins at 1. -
bash
can work with arrays, butzsh
can’t.
- Which
zsh
command would you use to view all of the.png
files and all of the.PNG
files that are in your directory?-
ls *.png
ls (#i).png
ls (#l)...
-