3 ms·
If all the tools you need is in the shell, and you don't need to maintain a state, CGI is extremely simple and powerful, all you need to do is to write a shell
by chazeon 4y ago
If all the tools you need is in the shell, and you don't need to maintain a state, CGI is extremely simple and powerful, all you need to do is to write a shell script.
I found this useful when I create a HTTP service to check a remote service's status over SSH.