| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 | <sect2><title>Short descriptions</title><para><command>halt</command> normally invokes shutdown with the -h flag,except when already in runlevel 0, then it tells the kernel to halt the system.But first it notes in the file <filename>/var/log/wtmp</filename> that thesystem is being brought down.</para><para><command>init</command> is the mother of all processes. It reads itscommands from <filename>/etc/inittab</filename>, which normally tell it whichscripts to run for which runlevel, and how many gettys to spawn.</para><para><command>killall5</command> sends a signal to all processes, exceptthe processes in its own session -- so it won't kill the shell running thescript that called it.</para><para><command>last</command> shows which users last logged in (and out),searching back through the file <filename>/var/log/wtmp</filename>. It canalso show system boots and shutdowns, and runlevel changes.</para><para><command>lastb</command> shows the failed login attempts, as loggedin <filename>/var/log/btmp</filename>.</para><para><command>mesg</command> controls whether other users can sendmessages to the current user's terminal.</para><para><command>pidof</command> reports the PIDs of the given programs.</para><para><command>poweroff</command> tells the kernel to halt the system andswitch off the computer. But see halt.</para><para><command>reboot</command> tells the kernel to reboot the system.But see halt.</para><para><command>runlevel</command> reports the previous and the currentrunlevel, as noted in the last runlevel record in<filename>/var/run/utmp</filename>.</para><para><command>shutdown</command> brings the system down in a secure way,signaling all processes and notifying all logged-in users.</para><para><command>sulogin</command> allows the superuser to log in. It isnormally invoked by init when the system goes into single user mode.</para><para><command>telinit</command> tells init which runlevel to enter.</para><para><command>utmpdump</command> displays the content of the given loginfile in a friendlier format.</para><para><command>wall</command> writes a message to all logged-in users.</para></sect2>
 |