Hi,
I am attempting to run a very simple bash script against my Linux nodes to determine if they are a node or workstation. Below is a screenshot of the script:

However, when it runs, it returns the following output and errors:
Output: =====================================================
/tmp/APM_230533995.pl
Server
/tmp/APM_230533995.pl: line 2: Message.1:: command not found
As you can see, it correctly determines if the node is a server or workstation. However, it keeps saying that a command is not found.
Any help would be appreciated, thanks!