
376
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
reboot
reboot [options]
System administration command. Close out filesystems, shut down
the system, then reboot. Because this command immediately stops
all processes, it should be run only in single-user mode. If the
system is not in runlevel 0 or 6, reboot calls shutdown -r.
Options
-d Suppress writing to /var/log/wtmp.
-f Call reboot even when shutdown would normally be called.
-i Shut down network interfaces before reboot.
-n Suppress normal call to sync.
-w Suppress normal execution; simply write to /var/log/wtmp.
reject
reject [options] destination
System administration command. Instruct printing system to reject
jobs for the specified print queue destinations. Depending on queue
settings, the system may prompt for a password. Also invoked as
cupsreject.
Options
-E Require encryption when connecting.
-h server
Apply command remotely to the specified CUPS server.
-r reason
Reject with the specified reason instead of the default “Reason
Unknown.”
rename
rename from to files
Rename files by replacing the first occurrence of from in each file-
name with to.
Example
Rename files that start with test so they start with mytest:
$ rename test mytest test*
renice
renice [priority] [options] [target]
Control the scheduling priority of running processes. May be
applied to a process, ...