l'unica cosa che mi viene in mente, visto che nel tuo esempio continui a scrivere /path/file.sh è che il path sia sbagliato