GMT Command not found error in Shell script

You probably need to prepend “gmt” before the commands (in the script)