source: appendixa/sysvinit-desc.xml@ a67cde7

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v5_0 v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since a67cde7 was 04a3351, checked in by Alex Gronenwoud <alex@…>, 21 years ago

Changing the style of the 'Content' subsections.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2930 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.2 KB
Line 
1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
2
3<sect2><title>Short descriptions</title>
4
5<para><command>halt</command> normally invokes shutdown with the -h flag,
6except when already in runlevel 0, then it tells the kernel to halt the system.
7But first it notes in the file <filename>/var/log/wtmp</filename> that the
8system is being brought down.</para>
9
10<para><command>init</command> is the mother of all processes. It reads its
11commands from <filename>/etc/inittab</filename>, which normally tell it which
12scripts to run for which runlevel, and how many gettys to spawn.</para>
13
14<para><command>killall5</command> sends a signal to all processes, except
15the processes in its own session -- so it won't kill the shell running the
16script that called it.</para>
17
18<para><command>last</command> shows which users last logged in (and out),
19searching back through the file <filename>/var/log/wtmp</filename>. It can
20also show system boots and shutdowns, and runlevel changes.</para>
21
22<para><command>lastb</command> shows the failed login attempts, as logged
23in <filename>/var/log/btmp</filename>.</para>
24
25<para><command>mesg</command> controls whether other users can send
26messages to the current user's terminal.</para>
27
28<para><command>pidof</command> reports the PIDs of the given programs.</para>
29
30<para><command>poweroff</command> tells the kernel to halt the system and
31switch off the computer. But see halt.</para>
32
33<para><command>reboot</command> tells the kernel to reboot the system.
34But see halt.</para>
35
36<para><command>runlevel</command> reports the previous and the current
37runlevel, as noted in the last runlevel record in
38<filename>/var/run/utmp</filename>.</para>
39
40<para><command>shutdown</command> brings the system down in a secure way,
41signaling all processes and notifying all logged-in users.</para>
42
43<para><command>sulogin</command> allows the superuser to log in. It is
44normally invoked by init when the system goes into single user mode.</para>
45
46<para><command>telinit</command> tells init which runlevel to enter.</para>
47
48<para><command>utmpdump</command> displays the content of the given login
49file in a friendlier format.</para>
50
51<para><command>wall</command> writes a message to all logged-in users.</para>
52
53</sect2>
54
Note: See TracBrowser for help on using the repository browser.