Reboot UNIX System Command

Q. How do I reboot a UNIX system computer?

A. To reboot UNIX system type the following command at a shell prompt. To restart the operating system, enter:
shutdown -y -i6 -g120 β€œ*** Rebooting Server kernel upgrade ****”
OR
reboot
First, command will warn all users logged in of the impending loss of service. In this example message is β€œ*** Rebooting Server kernel upgrade ****”. The -g120 is nothing but grace period, which allow the super user to change the number of seconds from the 60-second default. If you do not wish to provide warning and would like to reboot immediately, enter:
shutdown -y -i6 -g


🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 0 comments... add one ↓

CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall β€’ CentOS 8 β€’ OpenSUSE β€’ RHEL 8 β€’ Ubuntu 16.04 β€’ Ubuntu 18.04 β€’ Ubuntu 20.04
Network Utilitiesdig β€’ host β€’ ip β€’ nmap
OpenVPNCentOS 7 β€’ CentOS 8 β€’ Debian 10 β€’ Debian 8/9 β€’ Ubuntu 18.04 β€’ Ubuntu 20.04
Package Managerapk β€’ apt
Processes Managementbg β€’ chroot β€’ cron β€’ disown β€’ fg β€’ jobs β€’ killall β€’ kill β€’ pidof β€’ pstree β€’ pwdx β€’ time
Searchinggrep β€’ whereis β€’ which
User Informationgroups β€’ id β€’ lastcomm β€’ last β€’ lid/libuser-lid β€’ logname β€’ members β€’ users β€’ whoami β€’ who β€’ w
WireGuard VPNAlpine β€’ CentOS 8 β€’ Debian 10 β€’ Firewall β€’ Ubuntu 20.04
0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Problem posting comment? Email me @ webmaster@cyberciti.biz