You appear to be referring to shell scripts. I do not have an opinion on shell script capitalization. However, my opinion on capital keywords in SQL is that it is a relic of an older time when it was used to help visual parsing of the query.
Going further I’m of the opinion that color syntax highlighting does that job far better thus rendering the capital convention obsolete.
Note: you may have a different opinion than me and if you do the laws of the code formatting holy war demand that I assert that you’d be wrong.