How to fix bash 127 error return code - LinuxConfig.org

Value 127 is returned by your shell /bin/bash when any given command within your bash script or on bash command line is not found in any of the paths defined by PATH system environment variable.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-fix-bash-127-error-return-code