command: reboot
purpose: reboot, halt, poweroff - reboot or stop the system

syntax: reboot [OPTION]..

options:

-f, --force Does not invoke shutdown(8)  and  instead  performs  the  actual
      action you would expect from the name.

-p, --poweroff Instructs the halt command to instead behave as poweroff

-w, --wtmp-only Does  not  call  shutdown(8)  or  the  reboot(2) system call and
       instead only writes the shutdown record to /var/log/wtmp

--verbose Outputs slightly more verbose messages  when  rebooting,  useful
               for debugging problems with shutdown.

examples:
1.  To reboot the system
     $ reboot
     sudo permission needed for user or
     # reboot

2. To reboot system with message to users before reboot
    # shutdown -r time "message"
    -r reboot
    time to reboot
    message to all users

    # shutdown -r  +10 " system going to reboot save your work"

3. To see log of system reboot
    # last reboot

regards,
dhanasekar
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to