how to restart the server in linux code example Example: restart computer command linux $ sudo shutdown -r now