Page 1 of 1

rm: command not found

Posted: Thu Dec 04, 2014 7:59 pm
by mister_v
Hi,

I have a script that is started by command in procmail.
but is has some commands that are not found.

Code: Select all

 rm: command not found
but rm is on the system (linux) it works when executed by a normal user (/bin/bash)
What can it be?

Re: rm: command not found

Posted: Thu Dec 04, 2014 8:36 pm
by chris
I don't know the source of your problem.
might be that the command is not found in /bin or /sbin

You can try by adding the absolute path:

Code: Select all

/bin/rm
That should work.