In a Bash script, a function can be called before its definition appears in the file, because Bash reads the entire scr…