Interrupt process

Report a typo

You need to write a function that kills a process with the given PID using the SIGINT signal.

The function should take the PID of the process as the first argument.

Sample Input 1:

Sample Output 1:

OK
Write a program in Shell
#!/usr/bin/env bash

solve() {
# add your solution here

}
___

Create a free account to access the full topic