Reload process

Report a typo

Usually, the SIGHUP signal is used to reload processes. Write a function that will reload the process by its PID.

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

Sample Input 1:

Restarting...

Sample Output 1:

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

solve() {
# add your solution here

}
___

Create a free account to access the full topic