rm: command not found

Bash shell is the common linux command language.
Post Reply
mister_v
Posts: 188
Joined: Thu Mar 04, 2010 9:19 pm

rm: command not found

Post 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?
chris
Site Admin
Posts: 194
Joined: Mon Jul 21, 2008 9:52 am

Re: rm: command not found

Post 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.
Post Reply