Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

halt(8) [centos man page]

HALT(8) 							       halt								   HALT(8)

halt, poweroff, reboot - Halt, power-off or reboot the machine SYNOPSIS
halt [OPTIONS...] poweroff [OPTIONS...] reboot [OPTIONS...] DESCRIPTION
halt, poweroff, reboot may be used to halt, power-off or reboot the machine. OPTIONS
The following options are understood: --help Prints a short help text and exits. --halt Halt the machine, regardless of which one of the three commands is invoked. -p, --poweroff Power-off the machine, regardless of which one of the three commands is invoked. --reboot Reboot the machine, regardless of which one of the three commands is invoked. -f, --force Force immediate halt, power-off, reboot. Do not contact the init system. -w, --wtmp-only Only write wtmp shutdown entry, do not actually halt, power-off, reboot. -d, --no-wtmp Do not write wtmp shutdown entry. --no-wall Do not send wall message before halt, power-off, reboot. EXIT STATUS
On success, 0 is returned, a non-zero failure code otherwise. NOTES
These are legacy commands available for compatibility only. SEE ALSO
systemd(1), systemctl(1), shutdown(8), wall(1) systemd 208 HALT(8)

Check Out this Related Man Page

SHUTDOWN(8)							     shutdown							       SHUTDOWN(8)

shutdown - Halt, power-off or reboot the machine SYNOPSIS
shutdown may be used to halt, power-off or reboot the machine. The first argument may be a time string (which is usually "now"). Optionally, this may be followed by a wall message to be sent to all logged-in users before going down. The time string may either be in the format "hh:mm" for hour/minutes specifying the time to execute the shutdown at, specified in 24h clock format. Alternatively it may be in the syntax "+m" referring to the specified number of minutes m from now. "now" is an alias for "+0", i.e. for triggering an immediate shutdown. If no time argument is specified, "+1" is implied. Note that to specify a wall message you must specify a time argument, too. If the time argument is used, 5 minutes before the system goes down the /run/nologin file is created to ensure that further logins shall not be allowed. OPTIONS
The following options are understood: --help Prints a short help text and exits. -H, --halt Halt the machine. -P, --poweroff Power-off the machine (the default). -r, --reboot Reboot the machine. -h Equivalent to --poweroff, unless --halt is specified. -k Do not halt, power-off, reboot, just write wall message. --no-wall Do not send wall message before halt, power-off, reboot. -c Cancel a pending shutdown. This may be used cancel the effect of an invocation of shutdown with a time argument that is not "+0" or "now". EXIT STATUS
On success, 0 is returned, a non-zero failure code otherwise. SEE ALSO
systemd(1), systemctl(1), halt(8), wall(1) systemd 208 SHUTDOWN(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

mount point lost

hi , I was applying patches after that when i reboot i get these message. I did not do anything other thatn this. Now i am unable to start my oracle . Tell me how to solve this These are the error messages forceload of /drv/rdriver failed /drv/rdmexus failed ... (7 Replies)
Discussion started by: sathiya
7 Replies

2. UNIX for Dummies Questions & Answers


I am trying to change an IP address on a machine running HPUX10 After I change it I can ping it from the outside but it completely locks the console. After a reboot it returns back to its previous IP. Any ideas?? Thanks Brian (7 Replies)
Discussion started by: breigner
7 Replies

3. Solaris

Network Connectivity lost after reboot

I have 4 V440 servers running Solaris 9. I have their interfaces configured (ce0) and have connectivity to our network. However, after reboot,...the connectivity is lost although the interface shows that its still up after an ifconfig -a. Only after I reconfigure the interface do I restore... (19 Replies)
Discussion started by: StorageGuy
19 Replies

4. AIX

crontab displays power fail

Hi, My system has added an entry to the cron: --> crontab -l 0 00,12 * * * wall%rc.powerfail:2::WARNING!!! The system is now operating with a power problem. This message will be walled every 12 hours. Remove this crontab entry after the problem is resolved. I have had an issue... (8 Replies)
Discussion started by: chlawren
8 Replies

5. Solaris

V490 Failed To Boot After ALOM poweron

After issuing reboot command (and disconnected from PuTTY), server is not even rebooted because ping test is succesful. So I connect to ALOM and issue poweroff command. After a minute, I did poweron and get this message (only). rsc> poweron Are you sure you want to turn your system power on... (10 Replies)
Discussion started by: Olli.Lang
10 Replies

6. UNIX for Dummies Questions & Answers

Understanding shutdown

Hi there, I start using the function shutdown instead of reboot + poweroff. But there are some points that are not explained in the man pages. 1) What is the usage of the t swith. Both commands will display the message immediatly on every terminal and shutdown at 22:30. Where is the... (6 Replies)
Discussion started by: chebarbudo
6 Replies

7. AIX

how to remove the stale entry without a reboot??

my AIX server used to have scsi disk hdisk4. Now i removed that disk. But still it is still listed in lspv. So how can i remove the stale entry of it ? (6 Replies)
Discussion started by: navadeep
6 Replies

8. UNIX for Advanced & Expert Users

shedule monthly reboot on first sunday

Hello, I looked around but can't find a clear answer on this. Is there a way to shedule a box to reboot say on the first sunday of every month? Does it involve the cron.monthly file somehow, I googled and can't find how those cron.weekly, cron.monthly files function... This would be for Suse 9... (8 Replies)
Discussion started by: benefactr
8 Replies

9. Solaris

HBA disappeared after reboot

Hello all I was configuring a SUN 2540 raid and after a reboot the hba`s is gone. There is no longer an entry in etc/path_to_inst for them (2 cards). I tried a reconfigure boot several times but it does not work. The hba`s is a SUN qlogic 2200 in x4240 server (AMD). Using solaris 10 update7.... (6 Replies)
Discussion started by: vettec3
6 Replies

10. AIX

aix shutdown automatically

hi, My AIX (5.3) machine is getting shutdown automatically. After restarting the machine, its screen goes black and it shows in green: Unmounting the file system.... bringing down the network interface en0 ln0.......halt completed and system shutdowns. Can... (8 Replies)
Discussion started by: Vanit
8 Replies

11. Solaris

SUN Netra 240 Boot error

Hi, When I am trying to boot my SUN Netra 240 Machine its giving some boot error. > {1} ok boot -i > Boot device: /pci@1c,600000/scsi@2/disk@0,0:a File and args: -i > Boot load failed. > The file just loaded does not appear to be executable. > {1} ok I tried to boot it from cdrom... (9 Replies)
Discussion started by: ppandey21
9 Replies

12. Solaris

Any specific time to reboot the sun server to avoid unplanned outage ??

Hi, Would like to know the uptime or specific time limit to reboot the sun microsystem to avoid unplanned outage. Regards,Tarun (9 Replies)
Discussion started by: taruntan
9 Replies

13. Linux

Linux server reboot

We reboot our linux servers daily. Is it needed ? (10 Replies)
Discussion started by: linuxadmin
10 Replies

14. Solaris

After power failure, SunFireV240 with SOLARIS 5.9 cannot start

SUNW, Sun Fire V240 Spare Sun OS Release 5.9 After a power failure we try to start the server We have the following messages: Thanks for your assistance (7 Replies)
Discussion started by: doudou2012
7 Replies

15. UNIX for Advanced & Expert Users

How to Switch off a Unix machine abruptly

Hi Folks, My UNIX machine is placed geographically in another location. I have a remote access towards it. I want to abruptly switch off my unix machine through remote connection. Is it possible through any UNIX commands? I practically want to power off a PC , something like unplugging a power... (12 Replies)
Discussion started by: gjasper
12 Replies

Featured Tech Videos