
210
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-V, --version
Print version information and exit.
--verbose
Operate verbosely; print progress messages.
id
id [options] [username]
Display information about yourself or another user: user ID, group
ID, effective user ID and group ID if relevant, and additional group
IDs.
Options
-g, --group
Print group ID only.
-G, --groups
Print supplementary groups only.
-n, --name
With -u, -g, or -G, print user or group name, not number.
-r, --real
With -u, -g,or-G, print real, not effective, user ID or group
ID.
-u, --user
Print user ID only.
--help
Print help message and then exit.
--version
Print version information.
ifconfig
ifconfig [interface]
ifconfig [interface address_family parameters addresses]
TCP/IP command. Assign an address to a network interface and/or
configure network interface parameters. ifconfig is typically used at
boot time to define the network address of each interface on a
machine. It may be used at a later time to redefine an interface’s
address or other parameters. Without arguments, ifconfig displays
the current configuration for a network interface. Used with a
single interface argument, ifconfig displays that particular inter-
face’s current configuration. Note that interfaces are numbered
starting at zero: eth0, eth1, eth2, and so forth. In most cases, eth0 ...