restart ubuntu com code example
Example: restart ubuntu server
Try using the following command to safely reboot:
sudo reboot
If, instead, you want to shut down the server safely, use this command:
sudo shutdown -h now
Try using the following command to safely reboot:
sudo reboot
If, instead, you want to shut down the server safely, use this command:
sudo shutdown -h now