Question: what is the command line on answer section? If the program to be terminated is running only as one instance, or if all running instances
If the program to be terminated is running only as one instance, or if all running instances are to be terminated, then looking up the PIDs is unnecessary. The 'killall' and 'pkill' commands can terminate by name with the 'pkill' offering more features. The basic 'pkill' usage requires only the program name, for example: pkill summary, sh The above will sent the SIGTERM to all instances of the 'summary.sh' program. Open a new terminal/Putty session and have a look through the 'pkill' command manual. What is the option to terminate the oldest of of the processes that match the name provided to the command. You entered: pidof Please try again. Enter your answer (or enter: ' m '-main menu)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
