rm: command not found

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

rm: command not found

Post by mister_v »


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?

Site Admin
Posts: 167
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

That should work.

Post Reply