HowTo: Restart UNIX System / Server

How do I restart UNIX server or workstation?

You can use the following procedure to restart a UNIX system.

Login as root user. If you are not root use, use su or sudo command as follows:
su -
sudo -i

Once logged in as root, type the reboot command to reboot the system:
# reboot
You can also use the shutdown command as follows:
# shutdown -r now
If you are using Solaris UNIX, try the following command:
# shutdown -y -i6 -g0

  • -y : Do not prompt for any questions.
  • -i6 : Indicates init level 6 which is nothing but reboot.
  • -g0: Grace period, the default is 60 seconds. To reboot immediately set it to zero (0).

Posted by: SXI ADMIN

The author is the creator of SXI LLC and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

How to Make Website WCAG Compliant?

Next Post

Link download Kali Linux 2020.1 (ISO + Torrent)

Related Posts