Hi,
You need to set the PATH
environment in your script, like that:
#Set the PATH environment
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/
Add it beneath the first line of your script (#!/bin/bash
)
Thank you,
Daniel Friedman
Trixton LTD.