Sometimes it is needed to check what user is executing the bash script and whether the user supplied all required arguments:
This is a companion discussion topic for the original entry at https://linuxconfig.org/bash-script-display-usage-and-check-user/