kill command...
Hi Guys,
I'm having some trouble figure out what Linux is doing when I issue the kill command. When I type, kill 'slave1' I get the message- bash: kill: pico: no such pid However, when I type, /bin/kill 'slave1' the process 'slave1' is in fact killed. Why is that? There is no alias for kill and the only kill program is /bin/kill. Sonny. |
Yep, that's strange I just tried it out the same effect, but to be honest I've never used kill command in such form, I preffer
kill -9 PID |
The only thing I could find that would explain that is the following line in the kill manual pages:
"Most modern shells have a builtin kill function." I guess the builtin functions don't support a process name then. Making an alias for the kill command will prevent it from using the builtin one. |
All times are GMT -5. The time now is 10:34 PM. |