rm: command not found

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

rm: command not found

Post by mister_v » Thu Dec 04, 2014 7:59 pm

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: 162
Joined: Mon Jul 21, 2008 9:52 am

Re: rm: command not found

Post by chris » Thu Dec 04, 2014 8:36 pm

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