File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ # systemctl-halt
2
+
3
+ > Shut down and halt the system (stop the OS kernel but keep hardware powered on).
4
+ > See also: ` halt ` .
5
+ > More information: < https://www.freedesktop.org/software/systemd/man/systemctl.html#halt > .
6
+
7
+ - Halt the system:
8
+
9
+ ` systemctl halt `
10
+
11
+ - Halt the system immediately without asking services to stop gracefully:
12
+
13
+ ` systemctl halt --force `
14
+
15
+ - Halt the system immediately without sending notifications to logged-in users:
16
+
17
+ ` systemctl halt --force --no-wall `
18
+
19
+ - Halt the system immediately without terminating any processes or unmounting filesystems (dangerous, may cause data loss):
20
+
21
+ ` systemctl halt --force --force `
22
+
23
+ - Schedule a halt at a specific time (e.g., 23:00):
24
+
25
+ ` systemctl halt --when 23:00 `
26
+
27
+ - Schedule a halt after a certain duration (e.g., 2 hours):
28
+
29
+ ` systemctl halt --when +2h `
30
+
31
+ - Cancel a scheduled halt:
32
+
33
+ ` systemctl halt --when cancel `
You can’t perform that action at this time.
0 commit comments