Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix halt, poweroff and reboot

Quick links

About halt, poweroff and reboot
Syntax
Examples
Related commands
Linux / Unix main page

About halt, poweroff and reboot

Stop the computer.

Syntax

halt [-l] [-n] [-q] [-y]
 
or
halt [-n] [-w] [-d] [-f] [-i] [-p] [-h]

reboot [-n] [-w] [-d] [-f] [-i]
poweroff [-n] [-w] [-d] [-f] [-i] [-h]

-d Don't write the wtmp record. The -n flag implies -d.
-h Put all harddrives on the system in standby mode just before halt or poweroff.
-i Shut down all network interfaces just before halt or reboot.
-l Suppress sending a message to the system log daemon, syslogd, about who executed halt .
-n Prevent the sync before reboot or halt.
-p When halting the system, do a poweroff. This is the default when halt is called as poweroff.
-q Quick halt. No graceful shutdown is attempted.
-r Force halt or reboot, don't call shutdown.
-y Halt the system, even from a dialup terminal.
-w Don't actually reboot or halt but only write the wtmp record (in the /var/log/wtmp file).

Examples

halt
Set the computer to a mode that enables a user to turn off the computer.

poweroff
Stop the processor (if you have proper permission).

Related commands

Shutdown

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope