2)Bash:

1) Syntax (numbers and strings)

2) Syntax (arrays)

1for i in *
2do
3    read -a myArray <<< "$i"
4    echo ${myArray[1]}
5done

3) Syntax (functions)

https://ryanstutorials.net/bash-scripting-tutorial/bash-functions.php

  • functions in Bash allows coder to treat the code like normal terminal usage. So, -- ls -- can have a (script scope) alias using function ls(){ #--some code }. And $1 has the same property.

4) Syntax (files and folder)

https://www.cyberciti.biz/faq/howto-check-if-a-directory-exists-in-a-bash-shellscript/

5) Syntax (case statement, for loops, user input)

https://tldp.org/LDP/Bash-Beginners-Guide/html/sect%5F07%5F03.html

  • case statements

https://www.thegeekstuff.com/2011/07/bash-for-loop-examples/

  • some VERY USEFUL bash for loops. Some VERY SIMPLE ones.

https://askubuntu.com/questions/446156/pause-execution-and-wait-for-user-input

  • wait for user input