/* * C Program to Shutdown or Turn Off the Computer in Linux. */ #include int main() { system("shutdown -P now"); return 0; }