http://www.perlmonks.org?node_id=875576


in reply to sh: line 1: ,: command not found

I can't reproduce this, it might depend on the versions, but bash sometimes has problems with exclamation marks! It uses them for command recall (similar to c-shell). A lot of systems use a symbolic link to bash to fake a Bourne shell (sh). Try without the !!

Update: corrected typo - thanks Corion