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 -
OR
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
Where,
- -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).
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- My 10 UNIX Command Line Mistakes
- Linux: 20 Iptables Examples For New SysAdmins

- 25 PHP Security Best Practices For Sys Admins
- The Novice Guide To Buying A Linux Laptop
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
Facebook it - Tweet it - Print it -

