Lo script mi pare funzioni. Pero` devi sostituire

#!/usr/bin

con

#!/bin/bash