Can anyone help me? The program's objective is to kill the processes running on port 443 and to then start xampp
automatically.
What I've done:
#include <stdio.h>
#include <stdlib.h>
main() {
system("netstat -tulpn | grep :443");
/* If 443 is busy (kill all)*/
/*next -> */ system("/opt/lampp/xampp start");
}
C
? Is this for a didactic purpose?