
208
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-h, --help
Display a help message and then exit.
-i, --ip-address
Display the IP address(es) of the host.
-n, --node
Display or set the DECnet node name.
-s, --short
Trim domain information from the display output.
-v, --verbose
Verbose mode.
-V, --version
Display version information and then exit.
-y, --yp, --nis
Display the NIS domain name. A privileged user can set a new
NIS domain name with nameofhost.
htdigest
htdigest [-c] filename realm username
Create or update user authentication files used by the Apache web
server. The -c option is used if you wish to create the file, and will
overwrite any existing files rather than update them. The three
arguments are the file you wish to use as the authentication file, the
realm name to which the user belongs, and the username you will
update in the password file. You will be prompted for a password
when you run the command.
The Apache manual contains information about authentication
mechanisms, including more detail about using htdigest and the
ways in which you can control access to the resources served by
Apache.
hwclock
hwclock [option]
System administration command. Read or set the hardware clock.
This command maintains change information in /etc/adjtime,
which can be used to adjust the clock based on how much it drifts ...