What is the difference between kill and pkill in Linux?

Tiên Hương

New member
What is the difference between kill and pkill in Linux?
Answer
The main difference between these tools is that
kill terminates processes based on Process ID number (PID), while the killall and pkill commands terminate running processes based on their names and other attributes.
 

Tìm kiếm

Back
Top