How does one shutdown and reboot linux from within a program?
I am trying to set something up in a program that will shutdown or reboot linux after a specific command is received. The program is in C. Any ideas?
Is there a way to run command line commands from within a program?
|