I would like to know if there is any man page documenting the construction of the most basic script commands like
for each, and all the relative switches, like
-ge, and so on.
You have to look at the manual for the specific shell you are using as the exact syntax for using these constructs can vary between shells. Most likely you are using
If you are unsure which shell you are using, see this question - determine shell in script during runtime
Another thing work mentioning is the
Have a look at the man page for the shell you're using. For
These are builtins of the shell you are using. So,