What is the difference between "killall" and "pkill"?
Correct! Well done.
Incorrect.
The correct answer is A) Both send signals to processes matching a given criterion (rather than a specific PID) — "killall" matches by exact process name, while "pkill" can match using more flexible criteria such as patterns, user, or other process attributes
Correct Answer
Both send signals to processes matching a given criterion (rather than a specific PID) — "killall" matches by exact process name, while "pkill" can match using more flexible criteria such as patterns, user, or other process attributes
Both commands allow sending signals (default SIGTERM) to multiple processes based on name or pattern matching rather than requiring you to look up individual PIDs first, with "pkill" supporting more advanced matching options (e.g. by user with "-u").