Manual Pages for UNIX Darwin command on man scutil
MyWebUniversity

Manual Pages for UNIX Darwin command on man scutil

SCUTIL(8) BSD System Manager's Manual SCUTIL(8)

NAME

ssccuuttiill - Manage system configuration parameters

SYNOPSIS

ssccuuttiill

ssccuuttiill --pprreeffss [preference-file]

ssccuuttiill -rr { nodename | address | local-address remote-address }

ssccuuttiill -ww dynamic-store-key [-tt timeout]

ssccuuttiill --ggeett pref

ssccuuttiill --sseett pref [newval]

ssccuuttiill --ddnnss

ssccuuttiill --pprrooxxyy

DESCRIPTION

Invoked with no options, ssccuuttiill provides a command line interface to the "dynamic store" data maintained by configd(8). Interaction with this data (using the SystemConfiguration.framework SCDynamicStore APIs) is handled with a set of commands read from standard input. A list of the available commands is available by entering the help directive.

The --pprreeffss option provides a command line interface to the [raw] stored

preference data. Interaction with this data (using the SystemConfigura-

tion.framework SCPreferences APIs) is handled with a set of commands read from standard input. A list of the available commands is availble by entering the help directive.

The -rr option provides a means of checking the network reachability of a

host, an IP address, or a pair of local and remote IP addresses. Network "reachability" is a term that indicates whether network communication is possible between the current host and the specified host.

The -ww option provides a means of checking for (and optionally waiting

for the creation of) a dynamic store key.

The --ggeett and --sseett options provide a means of reporting and updating a

select group of persistent system preferences.

The --ddnnss option reports the current DNS configuration. The first listed

resolver(5) configuration is considered to be the "default" configura-

tion. Additional "supplemental" configurations follow. Those containing a "domain" name will be used for queries matching the specified domain. Those without will be used as a "default" configuration in addition to the first listed.

The --pprrooxxyy option reports the current system proxy configuration.

OOPPTTIIOONNSS

-rr { nodename | address | local-address remote-address }

Check the network reachability of the specified host name, IP address, or a pair of local and remote IP addresses. One or more of the following strings will be reported to standard output. Not Reachable The specified nodename/address cannot be

reached using the current network configura-

tion. Reachable The specified nodename/address can be reached using the current network configuration. Transient Connection The specified nodename/address can be reached via a transient (e.g. PPP) connection. Connection Required The specified nodename/address can be reached using the current network configuration but a connection must first be established. As an example, this status would be returned for a dialup connection that was not currently active but could handle network traffic for the target system. Connection Automatic The specified nodename/address can be reached using the current network configuration but a connection must first be established. Any traffic directed to the specified name/address will initiate the connection.

Local Address The specified nodename/address is one associ-

ated with a network interface on the system. Directly Reachable Addresss

Network traffic to the specified node-

name/address will not go through a gateway but is routed directly to one of the interfaces on the system. A zero exit status will be returned when the reachability status is

reported correctly. A non-zero exit status will be returned if

errors are detected with an error reported to standard error.

-ww dynamic-store-key [-tt timeout]

Check if the specified key exists in the "dynamic store" data main-

tained by configd(8). If present, ssccuuttiill will return with a zero exit status. If not present, ssccuuttiill will wait for the specified time

for the key to be established. A non-zero exit status will be

returned if the key was not created within the specified time. ssccuuttiill will wait indefinitely if a timeout of 0 seconds is specified. The default timeout is 15 seconds.

--ggeett pref

Retrieves the specified preference. The current value will be reported on standard output. Supported preferences include:

ComputerName The user-friendly name for the system.

LocalHostName The local (Bonjour) host name. HostName The name associated with hostname(1) and gethostname(3).

--sseett pref [newval]

Updates the specified preference with the new value. If the new value is not specified on the command line then it will be read from standard input. Supported preferences include: ComputerName LocalHostName HostName

The --sseett option requires super-user access.

--ddnnss

Reports the current DNS configuration.

--pprrooxxyy

Reports the current proxy configuration.

SEE ALSO

configd(8) HISTORY The ssccuuttiill command appeared in Mac OS X Public Beta. Mac OS X November 4, 2003 Mac OS X




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™