I think there needs to be a dot after the -d in the code to run for Ubuntu/Debian...